Ex - 9:
#define conio.h
#include "stdio.h"
#define max 0\5
void main()
{
#ifndef __conio_h
#define conio.h
printf("%s",__TIME__);
#else
#undef __conio_h
printf("%s",__DATE__);
#endif
}
What will be output if you compile and execute the above code?
(a)Output will be date of compilation
(b)Output will be time of compilation
(c)Output will be both time of compilation and date of compilation
(d)Compiler error
Ans: (b) |