0
Q:

how to print the process id in c

int p_id,p_pid;
    
    p_id=getpid();  /*process id*/
    p_pid=getpid(); /*parent process id*/
0

New to Communities?

Join the community