Tuesday, March 15, 2011

#ifdef usage1

# include "stdio.h"
# define some 10

# ifdef some
int i=10;
#endif



int main()
{

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


OUTPUT:

10 I am in windows platform
Press any key to continue . . .

No comments:

Post a Comment