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

void main()
{
int i=5;
printf("%d",i+++++i);
}

Answer Posted / vamsi

Hi Guys.....

The answer is

6+6 = 12

The compiler will take the expression as
i++ + ++i
And the expression would be evaluated from Right to left ...

so answer is 12 and i=7;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does node * mean?

1240


How many levels of pointers have?

1056


What is this pointer in c plus plus?

1095


what value is returned to operating system after program execution?

2125


What is the use of define in c?

1064


How can you allocate arrays or structures bigger than 64K?

1149


What are the different types of endless loops?

1082


What does %d do?

1283


What does nil mean in c?

1273


What is the use of c language in real life?

1028


Explain argument and its types.

1065


What are the types of variables in c?

1024


What are header files and explain what are its uses in c programming?

1135


Is null always equal to 0(zero)?

1038


a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above

1396