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 ?    34 Yes 30 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

For what purpose null pointer used?

1086


Write a program to reverse a string.

1086


Where local variables are stored in c?

1012


What is the easiest sorting method to use?

1177


What functions are in conio h?

1213


Explain the Difference between the New and Malloc keyword.

1146


Is linux written in c?

1043


What does %2f mean in c?

1228


what is a constant pointer in C

1186


Why main function is special give two reasons?

1550


What are header files in c programming?

1141


Where are some collections of useful code fragments and examples?

1164


How can a program be made to print the name of a source file where an error occurs?

1230


What is static memory allocation?

1187


What is static identifier?

1228