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 does char * * argv mean in c?
What is a node in c?
What is a structural principle?
What is the meaning of && in c?
How are 16- and 32-bit numbers stored?
What do you mean by dynamic memory allocation in c? What functions are used?
Why static is used in c?
What is return in c programming?
Are there any problems with performing mathematical operations on different variable types?
What are the properties of union in c?
There seem to be a few missing operators ..
How is null defined in c?
What is function and its example?
What is header file definition?
How can I write a function that takes a format string and a variable number of arguments?