OUTPUT :
Forked
Forked
Forked
-------------------------------------------------------------------------------------------------
REASON :
First fork() in boolean expression will create a child process with return value of 0, due to which child process won't evaluate condition after &&, will print Forked and exit.
The return value for the above fork() was 1 for parent process, due to which parent process will evaluate condition after &&, which is again fork() creating one more child process. This newly created child process will print Forked and exit.
The parent process too will exit by printing Forked.
Hence the output contains Forked printed thrice.