Which of the following is correct syntax for defining Mathematical constant PI using preprocessor directive in C language?
Which of the following is correct syntax for defining Mathematical constant PI using preprocessor directive in C language?
Explanation
#define PI 3.14
This is the correct syntax for defining a constant using the C preprocessor directive.
It replaces every instance of PI with 3.14 before compilation begins.