Object Oriented Programming Using C++ – Section 4

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

Correct Answer: B. fstream.h

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

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

Correct Answer: C. console application

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

Correct Answer: A. reference variables are easier to use

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

Correct Answer: C. other ‘C’ functions

35. _____ variables remain in memory until the program ends

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

Correct Answer: B. Global

Warning: Undefined variable $in_same_cat in /www/wwwroot/mtexam.com/public_html/wp-content/plugins/EXP.GKFEED.COM/function.php on line 27

Warning: Undefined variable $excluded_categories in /www/wwwroot/mtexam.com/public_html/wp-content/plugins/EXP.GKFEED.COM/function.php on line 27

Leave A Comment?