I can't understand output of following C program, any idea ?
#include<stdio.h>
#include<conio.h>
void main()
{
int a=5,b=6,c=11;
clrscr();
printf("%d %d %d");
getch();
}
Output of this program is:
11 6 5
I can't understand why above program give us reverse variable values in printf I never declared which value have to print...So is there is any theory that if we no declared which variable have to print then we get reverse value of variables that we above declared in data type...