Answer:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQlkuNpdJxshd2c_HVX-uNhFdWF0K9Csh8c4ZHoEsUhIDw3EmbBQWauTizXZfPmZBZS5rRGW2-nf6tIr3n_VcRcu6sCJVDshPM4p136OEZdKRMBaGUQolkPc8KHVtisX6hdltwB3rCX1M/s400/text1.bmp)
e.g.
#define pie 3.14
void main()
{
float r=3,area;
area=3*r*pie;
printf(“%f”,area);
getch();
}
Before the starting of actual compilation an intermediate is formed which is:
We can see only in place of pie, 3.14 has pasted.
If is very long or we want to write in next line, end first line by \.
e.g.
#define word c is powerful \
language.
No comments:
Post a Comment