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 / pratik.nikam3112
answer is
22 21 21 20
| Is This Answer Correct ? | 38 Yes | 8 No |
Post New Answer View All Answers
Suggesting that there can be 62 seconds in a minute?
difference between Low, Middle, High Level languages in c ?
program to convert a integer to string in c language'
What is the difference between single charater constant and string constant?
What is the difference between a string and an array?
Do you know null pointer?
How can you call a function, given its name as a string?
Is file a keyword in c?
How will you divide two numbers in a MACRO?
How to explain the final year project as a fresher please answer with sample project
What is the difference between text and binary modes?
Difference between Function to pointer and pointer to function
what do you mean by enumeration constant?
What is extern keyword in c?
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above