Question: In this code sample, what is not a problem for C compiler?

  1. The value of PI needs to be set to 3.141593, not 3.14
  2. The declaration of PI needs to say const, not constant.
  3. The data type of PI needs to be float not int.
  4. 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