Object Oriented Programming Using C++ - Section 5 Multiple Questions and Answers.
Exercise Questions ::
Object Oriented Programming
41. | Assume that a variable will need to store only integers in the range of 1 through 20000. The most efficient data type for the variable is _____ |
| |
| A. | character |
| B. | float |
| C. | integer |
| D. | short integer |
|
|
Published by:Michael Daani
42. | Which of the following is true? |
| |
| A. | iostream is derived from istream |
| B. | iostream is derived from ostream |
| C. | ostream is derived from iostream |
| D. | ostream is derived from istream |
|
|
Published by:Michael Daani
43. | Programmer-defined functions can be |
| |
| A. | value-returning functions only |
| B. | void functions only |
| C. | either value-returning or void functions |
| D. | None of Above |
|
|
Published by:Michael Daani
«