Computer Science - Object Oriented Programming Using C++

31. 

To send output to a file, you need to include the _____ header file in your program

A. file.h
B. fstream.h
C. iomanip.h
D. iostream.h
E. of stream.h

Answer: Option B

Explanation:

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

32. 

A C++ _____ is a program that runs in a DOS window

A. algorithm
B. cast application
C. console application
D. source application

Answer: Option C

Explanation:

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

33. 

A difference, between reference variables and pointers is that

A. reference variables are easier to use
B. pointers are easier to use
C. reference variables are more flexible
D. no difference exists between reference variables and pointers

Answer: Option A

Explanation:

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

34. 

A 'C function does not contain

A. a function header
B. argument declarations
C. other 'C' functions
D. function body
E. None of the above

Answer: Option C

Explanation:

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

35. 

_____ variables remain in memory until the program ends

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

Answer: Option B

Explanation:

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