C Language - Predefined Macros and Directives

 



include <stdio.h>

#include <conio.h>

int main()

{

printf ("The File name is %s\n", __FILE__);

printf ("The  Time now is %s\n", __TIME__);


printf ("Today date is %s\n", __DATE__);


printf ("The Line no. is %d\n", __LINE__);

printf ("ANSI is: %d\n", __STDC__);


return 0;

}


// ScreenShots:




Comments

Popular Posts