Home / C# Programming / Arrays - C# :: Discussion

Discussion :: Arrays - C#

  1. Which of the following is the correct output of the C#.NET code snippet given below?

        int[][] a = new int[2][];  
        a[0] = new int[4]{6, 1, 4, 3};  
        a[1] = new int[3]{9, 2, 7};        
        Console.WriteLine(a[1].GetUpperBound(0));

     

  2. A.

    3

    B.

    4

    C.

    7

    D.

    9

    E.

    2

    View Answer

    Workspace

    Answer : Option E

    Explanation :

    No answer description available for this question.


Be The First To Comment