Vidyalelo
C# Programming · Q53

Introduction to C Sharp

Programming · C# Programming · question 53

Q53

Which of the following is a correct way to declare a constant in C#?

A.
const int MAX_VALUE = 100;
Answer
B.
constant int MAX_VALUE = 100;
C.
int const MAX_VALUE = 100;
D.
int MAX_VALUE = 100;

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board