Arrays MCQ Questions and Answers - 2

Question: 6

Character Array should be initialized using ___ quotes.

(A) Any

(B) Double

(C) No

(D) Single

Ans: B

Double

Question: 7

In a 2D array, the first sub-script stands for ____

(A) Row

(B) Column

(C) Object

(D) Diagonal

Ans: A

Row

Question: 8

_____ dimensional array is an array in which each element is itself an array

(A) One

(B) Two

(C) Four

(D) Five

Ans: B

Two

Question: 9

The ____ character is very important, as it acts the string terminator.

(A) Float

(B) Int

(C) Null

(D) String

Ans: C

Null

Question: 10

____ is a member function of standard input istream.

(A) Getsline ()

(B) Line()

(C) Get ()

(D) Getline ()

Ans: D

Getline ()

Related Questions