- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
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.

1.1,2

2.2, 3, 4

3. 2, 3, 5

4.4, 5

Posted Date:-2021-02-24 11:08:14


More MCQS Questions and answers

Search