C Preprocessor Question:
Download Job Interview Questions and Answers PDF
Where define directive used?
Answer:
► Defining a constant
► Defining a statement
► Defining a mathematical expression
For example
► #define PI 3.141593
► #define TRUE 1
► #define floatingpointno float
► Defining a statement
► Defining a mathematical expression
For example
► #define PI 3.141593
► #define TRUE 1
► #define floatingpointno float
Download C Preprocessor Interview Questions And Answers
PDF
Previous Question | Next Question |
What are the preprocessor categories? | What is #error and use of it? |