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

3 2 1

Is This Answer Correct ?    18 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What type of function is main ()?

1049


‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.

2350


How do you declare a variable that will hold string values?

1184


What does c in a circle mean?

1087


Explain modulus operator. What are the restrictions of a modulus operator?

1022


Explain how can I convert a string to a number?

1109


What is cohesion and coupling in c?

1040


What is the significance of scope resolution operator?

1420


How the c program is executed?

1164


What is the difference between char array and char pointer?

1071


What are loops c?

1062


Explain threaded binary trees?

1170


why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above

1096


Write a program to use switch statement.

1136


What is the difference between the = symbol and == symbol?

1130