Function Overloading-Asked in Interviews.

Placewit
Jan 23, 2022

--

Which of the following in Object-Oriented Programming is supported by Function overloading and default arguments features of C++?

A) Inheritance

B) Polymorphism

C) Encapsulation

D) None of the above

Solution: B is Correct

Both of the features allow one function name to work for different parameter.

Thanks for Reading

Placewit grows the best engineers by providing an interactive classroom experience and by helping them develop their skills and get placed in amazing companies.

Learn more at Placewit. Follow us on Instagram and Facebook for daily learning.

--

--

Placewit
Placewit

Written by Placewit

Upskilling students for tech placements!

No responses yet