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
What is sizeof in c?
What are the similarities between c and c++?
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
Are the variables argc and argv are always local to main?
When should a far pointer be used?
What are data types in c language?
Apart from dennis ritchie who the other person who contributed in design of c language.
List some applications of c programming language?
simple program of graphics and their output display
What are file streams?
How can I find out the size of a file, prior to reading it in?
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
Explain what is a static function?
Is it possible to pass an entire structure to functions?
What does 3 periods mean in texting?