Top 100+ Object Oriented Programming Online Test - 2

Question: 6

When elements are stored column-wise manner it is called as _______ order.

(A) row

(B) column

(C) row-major

(D) column-major

Ans: D

column-major

Question: 7

When the modifier unsigned is used the integer data type will store only _____ values, the sign bit is also used to store data.

(A) one

(B) two

(C) positive

(D) negative

Ans: C

positive

Question: 8

_____ bit is also called as the most significant bit or sign bit.

(A) 15th

(B) 16th

(C) 17th

(D) 18th

Ans: B

16th

Question: 9

The default return data type of a function, if no data type is explicitly mentioned is

(A) double

(B) float

(C) char

(D) int

Ans: D

int

Question: 10

The maximum value stored in an integer variable is

(A) 32768

(B) -32768

(C) 32767

(D) 32780

Ans: C

32767

Related Questions