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
What is scanf_s in c?
What is difference between stdio h and conio h?
What are the 5 types of inheritance in c ++?
How old is c programming language?
Why is void main used?
What is the main difference between calloc () and malloc ()?
What is calloc() function?
Explain the priority queues?
What does %d do?
Tell me is null always defined as 0(zero)?
an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational
What is memory leak in c?
How do we declare variables in c?
How many header files are in c?
What is the collection of communication lines and routers called?