void main()
{
int i=5;
printf("%d",i++ + ++i);
}
Answers were Sorted based on User's Feedback
Answer / susie
Answer :
Output Cannot be predicted exactly.
Explanation:
Side effects are involved in the evaluation of i
| Is This Answer Correct ? | 0 Yes | 5 No |
There are 21 people in a room. They have to form groups of 3 people each. How many combinations are possible? Write a C program to print the same.
Write a program to model an exploding firecracker in the xy plane using a particle system
main() { int i=-1; -i; printf("i = %d, -i = %d \n",i,-i); }
main() { int *j; { int i=10; j=&i; } printf("%d",*j); }
void main() { int i=5; printf("%d",i++ + ++i); }
main() { int i =0;j=0; if(i && j++) printf("%d..%d",i++,j); printf("%d..%d,i,j); }
#include<stdio.h> main() { const int i=4; float j; j = ++i; printf("%d %f", i,++j); }
Design an implement of the inputs functions for event mode
main() { char *cptr,c; void *vptr,v; c=10; v=0; cptr=&c; vptr=&v; printf("%c%v",c,v); }
How can you relate the function with the structure? Explain with an appropriate example.
why is printf("%d %d %d",i++,--i,i--);
main() { char * strA; char * strB = I am OK; memcpy( strA, strB, 6); } a. Runtime error. b. I am OK c. Compile error d. I am O