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 how do you use macro?
Is it acceptable to declare/define a variable in a c header?
What is the use of a semicolon (;) at the end of every program statement?
what is use of malloc and calloc?
Explain what is the heap?
What are the primitive data types in c?
Differentiate between static and dynamic modeling.
Explain what does the function toupper() do?
Explain what is the most efficient way to store flag values?
What are loops c?
What is page thrashing?
What is the 'named constructor idiom'?
What does & mean in scanf?
What is gets() function?
What is a lookup table in c?