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

Differentiate between the = symbol and == symbol?

1208


write a program fibonacci series and palindrome program in c

978


Explain what does a function declared as pascal do differently?

1212


Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?

1076


Is c still relevant?

1035


write a programming in c to find the sum of all elements in an array through function.

2114


Why do we use & in c?

950


what are # pragma staments?

2000


What is the use of pragma in embedded c?

1003


Can you please explain the scope of static variables?

998


What is type qualifiers?

1079


Write a program of advanced Fibonacci series.

1093


How can I change their mode to binary?

1051


What is modifier & how many types of modifiers available in c?

983


Explain about the constants which help in debugging?

1309