Question: In this code sample, what is not a problem for C compiler?
- The value of PI needs to be set to 3.141593, not 3.14
- The declaration of PI needs to say const, not constant.
- The data type of PI needs to be float not int.
- The printf statement needs to use PI, not pi.
Answer: The correct answer of the above question is Option A:The value of PI needs to be set to 3.141593, not 3.14