WHAT WILL BE OUTPUT OF BELOW CODE . . AND PLEASE EXPLAIN HOW
IT COME ..
#include<stdio.h>
#include<conio.h>
void main()
{
int k=20;
printf("%d%d%d%d",k,k++,++k,k);
getch();
}
Answer Posted / pratik
i am agree with yognesh , ,
when u compile this is C it gives 22 21 21 20 . .
check it out ..
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
How can I get back to the interactive keyboard if stdin is redirected?
Which built-in library function can be used to match a patter from the string?
int far *near * p; means
Can a file other than a .h file be included with #include?
Why is c known as a mother language?
What is dangling pointer in c?
Why do we use static in c?
What are the data types present in c?
What does void main () mean?
What is the time and space complexities of merge sort and when is it preferred over quick sort?
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
What is meant by 'bit masking'?
What is c preprocessor mean?
What is self-referential structure in c programming?
What is NULL pointer?