Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is non linear data structure in c?

987


Tell me when is a void pointer used?

1133


What is null pointer in c?

962


What are different types of pointers?

1038


Why should I prototype a function?

1149


Why do we need volatile in c?

1136


What is the purpose of sprintf?

1091


Explain how do you search data in a data file using random access method?

1091


What does dm mean sexually?

1277


What is scope of variable in c?

1011


How can you restore a redirected standard stream?

1081


What is n in c?

991


Explain the process of converting a Tree into a Binary Tree.

2633


What is context in c?

900


What are inbuilt functions in c?

1005