Hello friends..plz help me in understanding the following C Output
first one is --
#include<stdio.h>
#include<conio.h>
main()
{
int a=5;
printf("a=%d\n",a);
printf("%a=%d",a);
getch();
}
*OUTPUT - *
a=5
0x1.2ff380p-1021=4199082
and the other one is --
#include<stdio.H>
# include <conio.h>
int i=2;
main()
{
void add();
add(i++,--i);
printf("\ni=%d \n",i);system("pause");
}
void add(int a ,int b)
{
printf("\na=%d b=%d",a,b);
}
*OUTPUT -*
a=1 b=1
i=2
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.