ISRO exam 2017 – Question 51 with Solution
In this video we are going to discuss another question which was asked in the exam of ISRO
51. What is the output of the following program?
main( )
{
int a = 10;
if ((fork ( ) == 0)) a++;
printf (“%d\n”, a );
}
(a) 10 and 11
(b) 10
(c) 11
(d) 11 and 11