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 the size of structure pointer in c?
Explain 'bus error'?
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
What is the purpose of ftell?
Explain can the sizeof operator be used to tell the size of an array passed to a function?
When should the const modifier be used?
How to explain the final year project as a fresher please answer with sample project
What is a null string in c?
What are the main characteristics of c language describe the structure of ac program?
What is array within structure?
What is nested structure in c?
What are Macros? What are its advantages and disadvantages?
What does sizeof return c?
in iso what are the common technological language?
Which are low level languages?