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

What is putchar() function?

1219


Can you define which header file to include at compile time?

1071


What is the benefit of using an enum rather than a #define constant?

1321


What are the different properties of variable number of arguments?

1204


What is the purpose of main( ) in c language?

1186


Explain the difference between structs and unions in c?

1068


Why is structure padding done in c?

1192


What are the differences between new and malloc in C?

1206


How do you use a pointer to a function?

1148


What is the use of void pointer and null pointer in c language?

1167


Write programs for String Reversal & Palindrome check

1138


A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM

2177


any "C" function by default returns an a) int value b) float value c) char value d) a & b

1133


write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.

3868


Where static variables are stored in memory in c?

1052