Top 100+ Object Oriented Programming Quiz Questions & Answers - 2

Question: 6

What are the equality operators?

(A) ==

(B) ! =

(C) < =

(D) both a and b

Ans: D

both a and b

Question: 7

Integral is the _____ data type.

(A) float

(B) double

(C) integer

(D) char

Ans: C

integer

Question: 8

What is the range for char data type in C++?

(A) -126 to 127

(B) -127 to 128

(C) 128 to -127

(D) -128 to 127

Ans: D

-128 to 127

Question: 9

What is the prefix character used to represent escape sequence?

(A) - =

(B) +

(C) *

(D) /

Ans: D

/

Question: 10

The _____ symbol is used to declare a pointer variable.

(A) #

(B) /

(C) &

(D) *

Ans: D

*

Related Questions