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 / guest

0101010101

Is This Answer Correct ?    3 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

please give me some tips for the placement in the TCS.

2114


What is null in c?

1095


What are variables c?

1055


How do you list a file’s date and time?

1070


Lists the benefits of c programming language?

1139


Is there any demerits of using pointer?

1075


Is there anything like an ifdef for typedefs?

1154


How can you convert integers to binary or hexadecimal?

1037


Differentiate between the expression “++a” and “a++”?

1253


What does malloc () calloc () realloc () free () do?

1065


Is it better to use a macro or a function?

1163


What is uint8 in c?

1104


Explain the difference between getch() and getche() in c?

1000


How many types of operators are there in c?

1039


When should we use pointers in a c program?

1137