Home / CSE MCQs / C++ - MCQs :: Discussion

Discussion :: C++ - MCQs

  1. Which of the following accesses the seventh element stored in array?
  2. A.
    array[6];
    B.
    array[7];
    C.
    array(7);
    D.
    array;

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    The array location starts from zero, So it can accessed by array[6].


Be The First To Comment