Computer Science - Object Oriented Programming Using C++

26.
A function can
return a value
perform a task
change value of actual arguments in call by reference
a, b, c above are all true
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

27.
The statement float values[]={3.14, -7.86, 36.96, 4.87};
assigns 36.96 to values[2]
assigns -7.86 to values[2]
gives an error message
assign 14 to values[2]
Answer: Option
Explanation:
No answer description is available. Let's discuss.

28.
A constructor initialization list is preceded by _____
a semicolon
a colon
two colons
a space
Answer: Option
Explanation:
No answer description is available. Let's discuss.

29.
When the compiler places a copy of a small function's statements directly into a program, the function is said to be _____
overloaded
mangled
inline
redundant
Answer: Option
Explanation:
No answer description is available. Let's discuss.

30.
A group of related fields that contain all of the data about a specific person, place, or thing is called a
data file
field file
program file
record
Answer: Option
Explanation:
No answer description is available. Let's discuss.