

MCQOPTIONS
Saved Bookmarks
1. |
Which of the following statements are correct about the C#.NET code snippet given below? int[] a = {11, 3, 5, 9, 4}; The array elements are created on the stack. Refernce a is created on the stack. The array elements are created on the heap. On declaring the array a new array class is created which is derived from System.Array Class. Whether the array elements are stored in the stack or heap depends upon the size of the array. |
A. | 1, 2 |
B. | 2, 3, 4 |
C. | 2, 3, 5 |
D. | 4, 5 |
E. | None of these |
Answer» C. 2, 3, 5 | |