Tuesday, March 15, 2011

Find the output of this program

# include "stdio.h"
int i=1;
# ifdef i
int i=10;
#endif


int main()
{

printf("I am in windows platform\n",printf("%d ",i));
return 0;
}

OUTPUT:
1 I am in windows platform
Press any key to continue . . .

No comments:

Post a Comment