Considering A as a one-dimensional array, which of the following C++…

PYQ DSSSB 2018

Considering A as a one-dimensional array, which of the following C++ statements will print the third element of A?

  1. A.

    cout << A[3];

  2. B.

    cout << 3[A];

  3. C.

    cout << 2[A];

  4. D.

    cout >> A[2];

Attempted by 1345 students.

Sign up free to check your answer

Sign up free

Explore the full course: Dsssb Tgt Computer Science Paper 2

Loading lesson…