Multiple Choice
Which of the following is the correct ways to set a value 3.14 in a variable pi such that it cannot be modified?
A) float pi = 3.14F;
B) #define pi 3.14F;
C) const float pi = 3.14F;
D) const float pi; pi = 3.14F;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: Which of the following is NOT an
Q2: The methods that have the same name,
Q3: Constructors are used to<br>A)initialize the objects<br>B)construct the
Q5: What is return type of constructors?<br>A)int<br>B)float<br>C)void<br>D)None of
Q6: Which of following statement are correct about
Q7: Which of the following statements are correct?1.
Q8: Which of the following is the correct
Q9: The C# provides special methods known as
Q10: Which of the following statements is correct
Q11: _ parameters are used to pass results