Computer Science - Object Oriented Programming Using C++

41. 

_____ variables are declared outside of any statement block

A. Area
B. Global
C. Local
D. Reference
E. Value

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

42. 

The end of string is recognized by

A. the null character
B. the newline character
C. the $ sign
D. the / sign
E. None of the above

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

43. 

Variable names known only to the procedure in which they are declared are ________

A. local
B. global
C. recent
D. internal

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

44. 

Whis is true?

A. A derived class may have more than one base class
B. A base class may have more than one derived class
C. both (a) and (b)
D. neither (a) nor (b)

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.

45. 

The keyword used to define a structure is

A. stru
B. stt
C. struct
D. unlimited

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.