Computer Science - Object Oriented Programming Using C++

26. 

The actual arguments cannot he

A. a constant or a variable
B. of a different type from the corresponding formal arguments
C. other functions
D. expressions
E. None of the above

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

27. 

The function stricmp("Jose", "JOSE") will return _____

A. - 1
B. 0
C. 1

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

28. 

Which is true?

A. Coincidental cohesion is stronger than procedural cohesion
B. Logical cohesion is stronger than coincidental cohesion
C. Sequential cohesion is weaker than temporal cohesion
D. The weakest cohesion is functional

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

29. 

A predefined function that may be used to handle memory allocation errors is

A. handle_error
B. set_new_handler
C. new_fix
D. memory_error

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

30. 

A function in a derived class that has the same name as a function in the parent class _____

A. will cause an error message to display
B. will override the base class function
C. will be overridden by the base class function
D. will execute immediately after the base class function executes

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.