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 / vignesh1988i
01 finally i will have 2
Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
Not all reserved words are written in lowercase. TRUE or FALSE?
Is stack a keyword in c?
Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?
Do you know what are the properties of union in c?
What are external variables in c?
Why enum is used in c?
Explain what is the advantage of a random access file?
code for find determinent of amatrix
What is pivot in c?
Function calling procedures? and their differences? Why should one go for Call by Reference?
In a byte, what is the maximum decimal number that you can accommodate?
What is the use of getchar functions?
Explain how can you tell whether a program was compiled using c versus c++?
Tell us bitwise shift operators?