InterviewSolution
Saved Bookmarks
| 1. |
Briefly explain #define directive. |
|
Answer» #define directive is a compiler directive and not a statement. If this statement is included in the program at the beginning, then the pre-processor replaces every occurrence of the identifier in the source code by the constant/string. For example if the statement is #define rate 20 then in the program whenever variable rate is considered then it is always assigned with constant 20. |
|