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
i am agree with yognesh , ,
when u compile this is C it gives 22 21 21 20 . .
check it out ..
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is the correct declaration of main?
Explain what are multidimensional arrays?
What is a static variable in c?
What is the value of h?
What are the advantages of using linked list for tree construction?
Create a simple code fragment that will swap the values of two variables num1 and num2.
What is volatile, register definition in C
What is meant by int main ()?
Is flag a keyword in c?
why we wont use '&' sing in aceesing the string using scanf
Why we use stdio h in c?
What are keywords in c with examples?
what is bit rate & baud rate? plz give wave forms
What is the easiest sorting method to use?
will u please send me the placement papers to my mail???????????????????