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 / ashish
20212120 is the write answer because there is no space between
specified data type %d
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain what is the difference between a free-standing and a hosted environment?
Explain how can I convert a string to a number?
Difference between linking and loading?
What is a c token and types of c tokens?
What is the meaning of ?
What is c basic?
What is the scope of static variables in c language?
Is there a way to switch on strings?
What are header files? What are their uses?
What does *p++ do?
What is struct node in c?
Why main is not a keyword in c?
write a c program in such a way that if we enter the today date the output should be next day's date.
What is the difference between malloc() and calloc()?
What is the difference between declaring a variable by constant keyword and #define ing that variable?