Top 150+ C++ Programming Quiz Questions and Answers - 2

Question: 6

Every variable will be referred by its ___

(A) Data

(B) Int

(C) Name

(D) Address

Ans: D

Address

Question: 7

Which storage class defines local variable known to the block in which they are defined?

(A) Register

(B) Auto

(C) Extern

(D) Static

Ans: B

Auto

Question: 8

____ allows users to define the user defined data type identifier.

(A) Class

(B) Data

(C) Identifier

(D) Type definition

Ans: D

Type definition

Question: 9

What is the length of long double data type?

(A) 8

(B) 16

(C) 32

(D) 80

Ans: D

80

Question: 10

The names beginning with an underscore are reserved for _____ variable.

(A) Globar

(B) Local

(C) Internal system

(D) External system

Ans: C

Internal system

Related Questions