McqMate
| 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? |
| A. | float pi = 3.14F; |
| B. | #define pi 3.14F; |
| C. | const float pi = 3.14F; |
| D. | const float pi; pi = 3.14F; |
| Answer» C. const float pi = 3.14F; | |
View all MCQs in
C# ProgrammingNo comments yet