Users Also Read
MCQ's Search Engine
Electrical Engineering
Mechanical Engineering
Civil Engineering
Automobile Engineering
Chemical Engineering
Computer Engineering
Electronics Engineering
Medical Science Engg
Which of the following statements is correct about the C#.NET code snippet given below? int a = 10; int b = 20; int c = 30; enum color: byte {red = a, green = b, blue = c } | |
A. | Values assigned to elements must always begin with . [Wrong Answer] |
B. | Values assigned to elements must always be successive values. [Wrong Answer] |
C. | Variables can be assigned to any one of the elements. [Wrong Answer] |
D. | Variables cannot be assigned to elements. [Correct Answer] |