What is the output of the following program
#include<stdio.h>
main()
{
int i=0;
fork();
printf("%d",i++);
fork();
printf("%d",i++);
fork();
wait();
}
Answer Posted / kracekumar
01010101010101
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is non linear data structure in c?
Tell me when is a void pointer used?
What is null pointer in c?
What are different types of pointers?
Why should I prototype a function?
Why do we need volatile in c?
What is the purpose of sprintf?
Explain how do you search data in a data file using random access method?
What does dm mean sexually?
What is scope of variable in c?
How can you restore a redirected standard stream?
What is n in c?
Explain the process of converting a Tree into a Binary Tree.
What is context in c?
What are inbuilt functions in c?