Computer Science - Object Oriented Programming Using C++

36.
Typing the function's name as Main, rather than main, is an example of
an entry error
a function error
a logic error
a syntax error
Answer: Option
Explanation:
No answer description is available. Let's discuss.

37.
When the compiler cannot differentiate between two overloaded constructors, they are called______
overloaded
destructed
ambiguous
dubious
Answer: Option
Explanation:
No answer description is available. Let's discuss.

38.
A function argument is
a variable in the function that receives a value from the calling program
a way that functions resist accepting the calling program's values
a value sent to the function by the calling program
a value returned by the function to the calling program
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

39.
A function that is prototyped as double calculate(int num); may______
receive an integer constant such as 5
receive an integer variable
either (a) or (b)
neither (a) nor (b)
Answer: Option
Explanation:
No answer description is available. Let's discuss.

40.
Passing a variable pointer as a constant _____
protects the contents pointed to by the pointer from change
eliminates the need to name the pointer in the function
eliminates the need to give the pointer a type in the function
causes a copy of the pointer to be produced in the function
Answer: Option
Explanation:
No answer description is available. Let's discuss.