This a small progam to print the process ID
I got this result
The process id: 165949
which process is this ? As I know is the getpid() is to return the ID of the calling process, is that mean the process which the system called or just random process?
> which process is this ?
It's the process ID of the thing you're running
- starts at main
- calls printf
- ends at return 0
All that is running with the pid of what you see on screen.