Join our Telegram Channel

8000+ STATIC GK MCQs for SSC/ Railway/ PSC
1000 POLITICAL SCIENCE MCQS | EBook
Get 22 nos. GK EBooks | Combo Pack
Current Affairs Monthly Magazine -Subscribe Now!
1000 BIOLOGY MCQS AND ANSWERS | EBook
1000 ECONOMICS MCQS FOR EXAMS | EBook
Mughal Empire MCQs | EBook
ECONOMIC GEOGRAPHY MCQs | EBook
350 MCQs ON INDIAN CONSTITUTION | EBook

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
Advertisement

General Knowledge

Month-wise Current Affairs 2022

Category-wise Current Affairs

Jobs by Qualification

Free Mock Test