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 / ramu
22 21 22 22
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the scope of local variable in c?
What is size of union in c?
Why c is procedure oriented?
What is printf () in c?
I came across some code that puts a (void) cast before each call to printf. Why?
Explain how do you convert strings to numbers in c?
What is keyword in c?
What is scope rule in c?
Is python a c language?
What is getch () for?
What are pointers? Why are they used?
What is the difference between near, far and huge pointers?
difference between native and cross compilers
Is array a primitive data type in c?
What is the difference between far and near ?