C++ Programming :: Function Overloading

NA
SHSTTON
3
Solv. Corr.
0
Solv. In. Corr.
3
Attempted
0 M:0 S
Avg. Time

1 / 2

Choose the correct option.

Specifically, overloading involves


Aone function with a variety of arguments

Bmultiple functions defined with the same name

Cone function with multiple names

Dmultiple functions with different names.

Answer: Option B

Explanation:

Here is no explanation for this answer

Workspace

NA
SHSTTON
2
Solv. Corr.
2
Solv. In. Corr.
4
Attempted
0 M:0 S
Avg. Time

2 / 2

Choose the correct option.

What is the difference between overloaded functions and overridden functions?


AOverloading is a dynamic or run-time binding and Overriding is static or compile-time binding

BRedefining a function in a friend class is called function overriding while Redefining a function in a derived class is called a overloaded fucntion

COverloading is a static or compile-time binding and Overriding is dynamic or run-time binding

DRedefining a function in a friend class is called function overloading while Redefining a function in a derived class is called as overridden fucnion

Answer: Option B

Explanation:

Here is no explanation for this answer

Workspace