What will be the output of
x++ + ++x?

Answer Posted / santhi perumal

Answer is 2x+2. For Ex: if x is 2 result is 2(2)+2 = 6.

Is This Answer Correct ?    7 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

formula to convert 2500mmh2o into m3/hr

489


Which of the following operators is incorrect and why? ( >=, <=, <>, ==)

653


What is the function of volatile in c language?

658


where are auto variables stored? What are the characteristics of an auto variable?

582


1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

3132






in linking some of os executables are linking name some of them

1645


What are local static variables?

612


What is difference between arrays and pointers?

573


a value that does not change during program execution a) variabe b) argument c) parameter d) none

686


What is the difference between constant pointer and constant variable?

740


Explain what are the different data types in c?

745


Why does this code crash?

610


How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?

571


Is array name a pointer?

597


What is difference between union All statement and Union?

623