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
Explain how can you determine the size of an allocated portion of memory?
When should a type cast not be used?
Which are low level languages?
praagnovation
C program to find all possible outcomes of a dice?
can we implement multi-threads in c.
Write the test cases for checking a variable having value in range -10.0 to +10.0?
Why is it usually a bad idea to use gets()? Suggest a workaround.
What is the return type of sizeof?
What are pointers in C? Give an example where to illustrate their significance.
What is the difference between pure virtual function and virtual function?
why programs in c are running with out #include
please give me some tips for the placement in the TCS.
What is calloc in c?
Differentiate fundamental data types and derived data types in C.