Q. Which of the following is the correct ways to set a value 3.14 in a variable pi such that it cannot be modified? (Solved)
1. float pi = 3.14F;
2. #define pi 3.14F;
3. const float pi = 3.14F;
4. const float pi; pi = 3.14F;
- c. const float pi = 3.14F;