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

#include<stdio.h>
int main()
{
int x=1,y;
y=x++ + ++x;
printf("y=%d\n",y);
return 0;
}
o/p->
y=4

Is This Answer Correct ?    17 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does char * * argv mean in c?

1123


What is a node in c?

1028


What is a structural principle?

1246


What is the meaning of && in c?

1089


How are 16- and 32-bit numbers stored?

1330


What do you mean by dynamic memory allocation in c? What functions are used?

1228


Why static is used in c?

1149


What is return in c programming?

1026


Are there any problems with performing mathematical operations on different variable types?

1106


What are the properties of union in c?

1111


There seem to be a few missing operators ..

1097


How is null defined in c?

1205


What is function and its example?

1274


What is header file definition?

1147


How can I write a function that takes a format string and a variable number of arguments?

1105