Which of the following is the correct ways to set a value 3.14 in a variable pi such that it cannot be modified?
1. float pi = 3.14F;
2.#define pi 3.14F;
3.const float pi = 3.14F;
4.const float pi; pi = 3.14F;
Answer:3
Posted Date:-2021-02-25 10:24:19