What is the total number of elements in a 2D array declared as int a[3][4]; ?

PYQ UP Police Computer Operator Grade A 2023

What is the total number of elements in a 2D array declared as int a[3][4]; ?

  1. A.

    7

  2. B.

    8

  3. C.

    10

  4. D.

    12

Attempted by 1487 students.

Sign up free to check your answer

Sign up free

Explore the full course: Up Police Computer Operator

Loading lesson…