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
Why is extern used in c?
What is the process of writing the null pointer?
write a program to find the given number is prime or not
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
Differentiate between a structure and a union.
explain what is fifo?
What is a const pointer in c?
How can I write functions that take a variable number of arguments?
Why do we use header files in c?
What are the 5 elements of structure?
why programs in c are running with out #include
What is the general form of #line preprocessor?
What is the use of pointers in C?
What is the purpose of main() function?
Why isnt there a numbered, multi-level break statement to break out