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
Define VARIABLE?
How do you convert strings to numbers in C?
Why we use stdio h in c?
Do you know the use of fflush() function?
What is methods in c?
Is it possible to use curly brackets ({}) to enclose single line code in c program?
What are different types of operators?
Explain why C language is procedural?
Is Exception handling possible in c language?
C language questions for civil engineering
write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.
What is the general form of a C program?
How can you increase the size of a dynamically allocated array?
How can I do serial ("comm") port I/O?
Why isnt any of this standardized in c?