+ 2
What is the answer of below code? Justify the answer!
#include<stdio.h> #include<conio.h> #define clrscr() 100 int main() { clrscr(); printf("%d",clrscr()); }
2 Respuestas
+ 3
100
As define preprocessor will change clrscr() by 100 in all over the program.So after define, program will change as follow:
#define clrscr() 100
int main()
{
100;
printf("%d",100);
}
+ 2
100? *_*
I understand about define more with this now