main()
{
int x=10,y=15;
x=x++;
y=++y;
printf("%d %d\n",x,y);
}
output??
Answer Posted / subha raman
the answer is 10 and 16..
in the case of postfix,the value will be displayed first
[that is the difference between postfix and prefix]..
when the main function is again called and the value is
displayed it will b'com..11 and 17..
| Is This Answer Correct ? | 18 Yes | 15 No |
Post New Answer View All Answers
When can a far pointer be used?
Why enum is used in c?
What is wild pointer in c with example?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
What is memory leak in c?
Explain union.
Array is an lvalue or not?
What is the purpose of type declarations?
What is a stream water?
How can you tell whether two strings are the same?
What is a spanning Tree?
What is a MAC Address?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
What is stack in c?
Explain the use of 'auto' keyword