Top 100+ Object Oriented Programming Online Test - 1

Question: 1

The range to store integer data goes upto

(A) 213

(B) 214

(C) 215

(D) 216

Ans: D

216

Question: 2

_____ data type that can hold both character data and the integer data.

(A) double

(B) float

(C) char

(D) int

Ans: C

char

Question: 3

The pointer data type address of _____ operator is used.

(A) &

(B) #

(C) /

(D) *

Ans: A

&

Question: 4

The unsigned char, and char data types has _____ bits.

(A) 8

(B) 16

(C) 32

(D) 64

Ans: A

8

Question: 5

The modifier _____ instructs the compiler to store the variable in the CPU register to optimize access.

(A) register

(B) static

(C) extern

(D) auto

Ans: A

register

Related Questions