Q42
What is the correct way to define a constant named 'PI' with a value of 3.14159 in C++?
A.
const PI = 3.14159;
B.
const double PI = 3.14159;
AnswerC.
constant PI = 3.14159;
D.
None of the above
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board