What will be the output of
x++ + ++x?
Answer Posted / debashree
#include<stdio.h>
int main()
{
int x=1,y;
y=x++ + ++x;
printf("y=%d\n",y);
return 0;
}
o/p->
y=4
| Is This Answer Correct ? | 17 Yes | 7 No |
Post New Answer View All Answers
What is a program flowchart and how does it help in writing a program?
What does p mean in physics?
Explain what’s a signal? Explain what do I use signals for?
What is wrong with this declaration?
Is c still used?
What is structure padding and packing in c?
Explain About fork()?
What are logical errors and how does it differ from syntax errors?
What is type qualifiers?
How many parameters should a function have?
What is the difference between c and python?
in iso what are the common technological language?
What does sizeof function do?
What is the use of #include in c?
What is the advantage of an array over individual variables?