fork() in C program?

This is a question from recent GATE entrance exam. A process executes the code fork(); fork(); fork(); Th...

Significance of -pthread flag when compiling?

In various multi threaded C and C++ projects I've seen the -pthread flag applied to both the compiling and linking s...