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
Explain how can you tell whether two strings are the same?
which is conditional construct a) if statement b) switch statement c) while/for d) goto
What are the modifiers available in c programming language?
Do you know null pointer?
Give the rules for variable declaration?
why return type of main is not necessary in linux
What is wrong with this code?
What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?
what is the syallabus of computer science students in group- 1?
What is the use of sizeof?
Why header file is used in c?
Explain what is dynamic data structure?
What is the time and space complexities of merge sort and when is it preferred over quick sort?
What kind of structure is a house?
Explain goto?