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 is the purpose of & in scanf?

1007


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

2185


What is malloc and calloc?

1003


What is the purpose of 'register' keyword in c language?

976


Why is %d used in c?

956


What are the different types of errors?

1069


What is the use of structure padding in c?

1009


why we wont use '&' sing in aceesing the string using scanf

2308


Why does everyone say not to use gets?

1024


Explain the use of 'auto' keyword

1070


What is break in c?

984


What is array of pointers to string?

996


how to create duplicate link list using C???

2499


What does 3 periods mean in texting?

1007


Do character constants represent numerical values?

1284