C Preprocessor Question:

Download Job Interview Questions and Answers PDF

Where define directive used?

C Preprocessor Interview Question
C Preprocessor Interview Question

Answer:

► Defining a constant
► 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 QuestionNext Question
What are the preprocessor categories?What is #error and use of it?