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 will be the output of
x++ + ++x?

Answer Posted / sadashiv

these type of expression evaluation is dependent on
compiler

if u use turbo c and x =1;

then answer would be
main();
int x=1,y.
y = x++ + ++x.
printf /n'%d',y.
here y = 4

Is This Answer Correct ?    144 Yes 32 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain Function Pointer?

1244


What is output redirection?

1277


Explain what is the difference between a string and an array?

1227


the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?

1043


What is nested structure in c?

1118


How is = symbol different from == symbol in c programming?

1105


What is the size of structure in c?

1215


while initialization of array why we use a[][2] why not a[2][]...?

2403


What is the scope of static variable in c?

1079


Why & is used in scanf in c?

1146


How can I find out if there are characters available for reading?

1165


Explain what is gets() function?

1120


What does %p mean c?

1120


One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.

2692


What is the difference between typedef struct and struct?

1165