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
Explain the difference between ++u and u++?
Can we declare function inside main?
What is string function c?
code for replace tabs with equivalent number of blanks
What is meant by gets in c?
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.
How to write c functions that modify head pointer of a linked list?
why do some people write if(0 == x) instead of if(x == 0)?
What is c preprocessor mean?
hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?
What is return in c programming?
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
What is typedf?