1. Home
  2. Federal Board of Intermediate and Secondary Education (FBISE)
  3. Computer Science FBISE Class 10
  4. A two-dimensional array in C is declared as:

Added 16 Nov 2026

A two-dimensional array in C is declared as:

  1. int a[3,4];
  2. int a[3][4]; Correct answer
  3. int a(3,4);
  4. int a{3,4};

Correct answer

B. int a[3][4];

12 views

MCQSEXAM

Explanation

int a[3][4]; declares a 2D array with 3 rows and 4 columns. The first index is rows, the second is columns. 2D arrays are used for tables and matrices.

Reference

Asked in: Matric,FBISE

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Computer Science FBISE Class 10 MCQs

Practise all Computer Science FBISE Class 10 MCQs

Similar MCQs