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 / balasankararao
my answer is
22 21 21 20
if it is wrong why?
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What does int main () mean?
Explain low-order bytes.
Can you write the function prototype, definition and mention the other requirements.
How can I call fortran?
Can main () be called recursively?
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 does double pointer mean in c?
Write a program to swap two numbers without using third variable in c?
explain what is an endless loop?
Can we change the value of #define in c?
What is the significance of scope resolution operator?
What are the general description for loop statement and available loop types in c?
Why is c so important?
What is the importance of c in your views?
Differentiate between Macro and ordinary definition.