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 output of the following program ?

main()
{
i = 1;
printf("%d %d %d\n",i,i++,i++);
}

Answer Posted / siva

1 1 2

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Did c have any year 2000 problems?

1080


Can a variable be both static and volatile in c?

991


What's the total generic pointer type?

1027


What are the different types of data structures in c?

1131


write a program to find the given number is prime or not

4692


How is a macro different from a function?

1139


What would be an example of a structure analogous to structure c?

961


List the difference between a 'copy constructor' and a 'assignment operator' in C?

1058


How can I manipulate strings of multibyte characters?

1094


What is the maximum length of an identifier?

1158


What are the types of pointers?

1062


What is the need of structure in c?

1082


Write a program to check whether a number is prime or not using c?

1022


Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc

5584


What is the correct code to have following output in c using nested for loop?

1043