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 / prats
its stack operation . .
top will get printed first . .
answer will b 22 21 21 20
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Why doesnt the call scanf work?
How important is structure in life?
Explain how can you tell whether a program was compiled using c versus c++?
can we implement multi-threads in c.
How is a structure member accessed?
what do u mean by Direct access files? then can u explain about Direct Access Files?
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
What is a null pointer in c?
Do pointers take up memory?
Can include files be nested?
Explain 'bit masking'?
Why are all header files not declared in every c program?
What is main return c?
What are variables and it what way is it different from constants?
the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above