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...

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

Answer Posted / dhivya

11 11 13
++i which means i is first incremented and then printed thus i value becomes 11,
i++ which means i is printed and then it is incremented, since the value of i is now 11, it is printed and then incremented to 12.
again ++i , increments i to 13 and then prints.

Is This Answer Correct ?    66 Yes 38 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is null in c?

1009


Explain high-order and low-order bytes.

1052


Without Computer networks, Computers will be half the use. Comment.

2255


What is hash table in c?

976


How do I get a null pointer in my programs?

1062


How can I get back to the interactive keyboard if stdin is redirected?

1137


Tell me when would you use a pointer to a function?

1015


What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?

1024


How was c created?

1000


By using C language input a date into it and if it is right?

1022


How can you find the day of the week given the date?

1151


What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?

1273


what is different between auto and local static? why should we use local static?

1079


The __________ attribute is used to announce variables based on definitions of columns in a table?

1136


What is the explanation for prototype function in c?

927