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

Explain what does the format %10.2 mean when included in a printf statement?

765


What is #include cctype?

568


explain what are pointers?

610


What is the difference between single charater constant and string constant?

615


What is c programming structure?

612






What is the difference between near, far and huge pointers?

622


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

719


Explain void pointer?

580


How can I write a function analogous to scanf?

642


Explain what are the advantages and disadvantages of a heap?

589


What is the difference between array and pointer?

558


What is the difference between test design and test case design?

1558


Is a house a mass structure?

632


what is the height of tree if leaf node is at level 3. please explain

1587


What is auto keyword in c?

780