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 the purpose of & in scanf?
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
What is malloc and calloc?
What is the purpose of 'register' keyword in c language?
Why is %d used in c?
What are the different types of errors?
What is the use of structure padding in c?
why we wont use '&' sing in aceesing the string using scanf
Why does everyone say not to use gets?
Explain the use of 'auto' keyword
What is break in c?
What is array of pointers to string?
how to create duplicate link list using C???
What does 3 periods mean in texting?
Do character constants represent numerical values?