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

Are the expressions * ptr ++ and ++ * ptr same?

1210


What is nested structure in c?

1117


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......

1971


How can a program be made to print the line number where an error occurs?

1134


What is LINKED LIST? How can you access the last element in a linked list?

1115


What are the benefits of c language?

1228


Is it better to use malloc() or calloc()?

1175


What does stand for?

1141


show how link list can be used to repersent the following polynomial i) 5x+2

2398


What is the general form of function in c?

1072


write a c program to calculate sum of digits till it reduces to a single digit using recursion

3381


Describe the steps to insert data into a singly linked list.

1118


What are categories used for in c?

1151


what is the syallabus of computer science students in group- 1?

2368


Are the variables argc and argv are local to main?

1360