Object Oriented Programming Using C++ - Section 7 Multiple Questions and Answers.
Exercise Questions ::
Object Oriented Programming
Published by:Michael Daani
Published by:Michael Daani
18. | When you define an object that is a member of a class, such as Student Abby; _____ |
| |
| A. | a block of memory is set aside and all data members are assigned valid values |
| B. | a block of memory is set aside |
| C. | no memory is set aside until values are defined |
| D. | no memory is set aside, but valid values are assigned to data members |
|
|
Published by:Michael Daani
Published by:Michael Daani
20. | Any output manipulator function you create _____ |
| |
| A. | should take as an argument an instance of ostream as a reference |
| B. | should return void |
| C. | must be a member function of the ostream class |
| D. | must inherit stream |
|
|
Published by:Michael Daani
«»