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

01 finally i will have 2

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is this program statement valid? INT = 10.50;

1230


On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area

1165


For what purpose null pointer used?

1117


What are disadvantages of C language.

1222


How do you initialize pointer variables?

1151


Can we access the array using a pointer in c language?

1095


How can type-insensitive macros be created?

1219


What is table lookup in c?

1148


provide an example of the Group by clause, when would you use this clause

2246


What are identifiers in c?

1243


Explain how do you print only part of a string?

1280


write a progrmm in c language take user interface generate table using for loop?

2103


How can I read data from data files with particular formats?

1092


Explain how do you declare an array that will hold more than 64kb of data?

1498


Explain what is operator promotion?

1149