What is the output? int a[2][3] = {1, 2, 3, 4, 5, 6};
What is the output?
int a[2][3] = {1, 2, 3, 4, 5, 6};
printf("%d", a[1][1]);
Show answerHide answer
Correct answer: (A) 5
Explanation
Row 1 is {4, 5, 6}; column 1 gives 5.
Correct answer: (A) 5
Explanation
Row 1 is {4, 5, 6}; column 1 gives 5.
This is question 132 of DSSSB TGT Computer Science Full Mock Test 2. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.