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
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above
i want to know the procedure of qualcomm for getting a job through offcampus
Is there a way to switch on strings?
Which is an example of a structural homology?
What are the string functions? List some string functions available in c.
Are global variables static in c?
What are the rules for identifiers in c?
Explain can you assign a different address to an array tag?
what are non standard function in c
What is a void pointer? When is a void pointer used?
Write a program to check whether a number is prime or not using c?
What are the advantages of union?
Did c have any year 2000 problems?
Is c still used?
What is string function c?