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 ? | 144 Yes | 32 No |
Post New Answer View All Answers
How do I get a null pointer in my programs?
What language is windows 1.0 written?
How can you pass an array to a function by value?
how is the examination pattern?
How can I remove the leading spaces from a string?
Explain what is #line used for?
When should you not use a type cast?
write a programming in c to find the sum of all elements in an array through function.
what are the advantages of a macro over a function?
Explain how do you print only part of a string?
write a program to concatenation the string using switch case?
How does struct work in c?
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
What is 2c dna?
How do you convert strings to numbers in C?