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}; 1. The array elements are created on the stack. 2. Refernce a is created on the stack. 3. The array elements are created on the heap. 4. On declaring the array a new array class is created which is derived from System.Array Class. 5. 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 |
| Answer» C. 2, 3, 5 | |