What is the output of the following C program? #include <stdio.h> void main()…

What is the output of the following C program?

#include <stdio.h>
void main()
{
    int a[3][2] = { {1,2}, {2,1}, {2,2} };
    printf("%d", a[1][0]);
}
  1. A.

    1

  2. B.

    2

  3. C.

    0

  4. D.

    None of these

Attempted by 742 students.

Sign up free to check your answer

Sign up free

Explore the full course: Nta Ugc Net Paper 2

Loading lesson…