Online GK Series

This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Postal Assistants, Bank, GATE and NET

Q.

	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

Computer Science Books

Your Valuable Comments Please...

Please Like Us
Brand