Object Oriented Programming Objective Questions and Answer Pdf - 1

Question: 1

The index value for an element in an array is indicated within _____ brackets.

(A) /*

(B) ()

(C) []

(D) {}

Ans: C

[]

Question: 2

How many bits are used to store data starting from right extreme?

(A) 15

(B) 16

(C) 32

(D) 64

Ans: A

15

Question: 3

Every bite in the computer's memory has an

(A) null

(B) address

(C) 0 to 1

(D) data

Ans: B

address

Question: 4

Static and Register variables are automatically initialized to _____ value when they are declared.

(A) 0

(B) 1

(C) 2

(D) 3

Ans: A

0

Question: 5

The long int, signed long int has _____ bytes.

(A) 2

(B) 3

(C) 4

(D) 8

Ans: C

4

Related Questions