main()
{
int x=10,y=15;
x=x++;
y=++y;
printf("%d %d\n",x,y);
}
output??
Answer Posted / ankit
11 16 is correct ..
value of x is incremented and is saved in memeory and at
the time of display it will be 11,
as in case of y it will be incremented and will store the
incremented value to be displayed for y.
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
Explain how do you override a defined macro?
What the advantages of using Unions?
What does 2n 4c mean?
Difference between MAC vs. IP Addressing
What is static volatile in c?
What does malloc () calloc () realloc () free () do?
How can I write a function analogous to scanf?
Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
What is a null string in c?
What is a method in c?
What are the types of data files?
What are the back slash character constants or escape sequence charactersavailable in c?
Explain About fork()?
Can static variables be declared in a header file?