Vidyalelo
Computer Science · Q457

Linux

Engineering and GATE · Computer Science · question 457

Q457

What is the output of this program? #include int main() fork(); printf("Example "); return 0;

A.
the string "Example" will print 1 time
B.
the string "Example" will print 2 times
Answer
C.
the string "Example" will print 3 times
D.
none of the mentioned

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board