Sports GK Questions and Answers 2024 (Latest Updated)

Awards & Honours GK Questions 2024 (Latest Updated)

Question

	int warr[3][2][2]={1,2,3,4,5,6,7,8,9,10,11,12};
	

What will be the value of warr[2][1][0]?

A 5
B 7
C 9
D 11
Answer & Explanation
Option: [D]

Let us identify the arrays for each values.

warr[0][0][0]=1

warr[0][0][1]=2

warr[0][1][0]=3

warr[0][1][1]=4

warr[1][0][0]=5

warr[1][0][1]=6

warr[1][1][0]=7

warr[1][1][1]=8

warr[2][0][0]=9

warr[2][0][1]=10

warr[2][1][0]=11

Advertisement
Article and Schedule Quiz Start Test!
DOWNLOAD CURRENT AFFAIRS PDF FROM APP

Random GK Questions

Assam Direct Recruitment Test Series

Computer Science Topics