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
What is #include stdlib h?
What are the ways to a null pointer can use in c programming language?
Tell us two differences between new () and malloc ()?
Why main is used in c?
What is c language in simple words?
What is time null in c?
To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9
What is %d called in c?
How do you sort filenames in a directory?
What is maximum size of array in c?
What is the difference between memcpy and memmove?
What is hashing in c language?
What is the difference between single charater constant and string constant?
What is a stream in c programming?
What is unsigned int in c?