Object Oriented Programming Using C++ - Section 6 Multiple Questions and Answers.
Exercise Questions ::
Object Oriented Programming
Published by:Michael Daani
32. | Software that can be used in applications other than the one for which it was originally written is called |
| |
| A. | recyclable |
| B. | inherited |
| C. | reusable |
| D. | cheating |
|
|
Published by:Michael Daani
Published by:Michael Daani
34. | A function that is prototyped as double calculate(int num); may______ |
| |
| A. | receive an integer constant such as 5 |
| B. | receive an integer variable |
| C. | either (a) or (b) |
| D. | neither (a) nor (b) |
|
|
Published by:Michael Daani
35. | Passing a variable pointer as a constant _____ |
| |
| A. | protects the contents pointed to by the pointer from change |
| B. | eliminates the need to name the pointer in the function |
| C. | eliminates the need to give the pointer a type in the function |
| D. | causes a copy of the pointer to be produced in the function |
|
|
Published by:Michael Daani
«»