Computer Science - Object Oriented Programming Using C++

21.
When you define an object that is a member of a class, such as Student Abby; _____
a block of memory is set aside and all data members are assigned valid values
a block of memory is set aside
no memory is set aside until values are defined
no memory is set aside, but valid values are assigned to data members
Answer: Option
Explanation:
No answer description is available. Let's discuss.

22.
A program can directly access the _____ members of a class
hidden
private
public
both (b) and (c)
Answer: Option
Explanation:
No answer description is available. Let's discuss.

23.
Any output manipulator function you create _____
should take as an argument an instance of ostream as a reference
should return void
must be a member function of the ostream class
must inherit ostream
Answer: Option
Explanation:
No answer description is available. Let's discuss.

24.
To pass an array by reference, you
must include the address-of (&) operator before the array's name
must include the number symbol (#) before the array's name
do not have to do anything because arrays are automatically passed by reference
Answer: Option
Explanation:
No answer description is available. Let's discuss.

25.
The instructions you enter into the computer are called the _____
edited code
machine code
object code
source code
Answer: Option
Explanation:
No answer description is available. Let's discuss.