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

for this what is the input value of x.First of all we have
to give the input value of x.
if x = 1 then answer would be
main();
int x=1,y.
y = x++ + ++x.
printf /n'%d',y.
here y = 3

Is This Answer Correct ?    11 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

define string ?

1171


What does double pointer mean in c?

1260


When the macros gets expanded?

1490


find out largest elemant of diagonalmatrix

2325


Explain how can I remove the trailing spaces from a string?

1106


Is int a keyword in c?

1039


How can I prevent another program from modifying part of a file that I am modifying?

1111


What are the different types of constants?

1132


How is null defined in c?

1205


Where can I get an ansi-compatible lint?

1208


program for reversing a selected line word by word when multiple lines are given without using strrev

2539


How to draw the flowchart for structure programs?

9394


What is exit() function?

1075


What are the advantages of union?

1120


Write the test cases for checking a variable having value in range -10.0 to +10.0?

2370