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
Are the expressions * ptr ++ and ++ * ptr same?
What is nested structure in c?
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
How can a program be made to print the line number where an error occurs?
What is LINKED LIST? How can you access the last element in a linked list?
What are the benefits of c language?
Is it better to use malloc() or calloc()?
What does stand for?
show how link list can be used to repersent the following polynomial i) 5x+2
What is the general form of function in c?
write a c program to calculate sum of digits till it reduces to a single digit using recursion
Describe the steps to insert data into a singly linked list.
What are categories used for in c?
what is the syallabus of computer science students in group- 1?
Are the variables argc and argv are local to main?