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 / prats
but when we compile this code in editor it shows the output
22 21 21 20 .
whts wrong then ?
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
Explain how to reverse singly link list.
Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.
Why clrscr is used in c?
Is c still relevant?
Why is it usually a bad idea to use gets()? Suggest a workaround.
What is a stream water?
What is 1f in c?
Can a variable be both static and volatile in c?
Is javascript written in c?
Differentiate fundamental data types and derived data types in C.
Write the control statements in C language
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
What is the use of pointers in C?
what is a constant pointer in C
What are pragmas and what are they good for?