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

Answer Posted / sadashiv

these type of expression evaluation is dependent on
compiler

if u use turbo c and x =1;

then answer would be
main();
int x=1,y.
y = x++ + ++x.
printf /n'%d',y.
here y = 4

Is This Answer Correct ?    143 Yes 32 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?

2397


An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above

639


program to convert a integer to string in c language'

1969


What is c system32 taskhostw exe?

574


Why void is used in c?

555






What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }

684


What are the advantages and disadvantages of pointers?

565


Who is the founder of c language?

669


What are unions in c?

568


What are preprocessor directives?

662


If the size of int data type is two bytes, what is the range of signed int data type?

577


What does double pointer mean in c?

565


Give basis knowledge of web designing ...

1562


What language is c written?

566


Can we assign string to char pointer?

575