What is function overloading in C++?

Answer Posted / nashiinformaticssolutions

Function overloading is the process whereby two or more functions with the same name are given different parameters; it’s a type of polymorphism. The purpose of function overloading is to improve program readability and consistency as well as optimize memory.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name the debugging methods that are used to solve problems?

763


How do you instruct your compiler to print the contents of the intermediate file showing the effects of the preprocessor?

822


How many types of comments are there in c++?

751


Are strings mutable in c++?

888


Why do we use pointers in c++?

769


What is the last index number in an array of 100 characters a) 100 b) 99 c) 101

840


What is the arrow operator in c++?

749


Which is better turbo c++ or dev c++?

753


Differentiate between structure and class in c++.

792


Write a program in c++ to print the numbers from n to n2 except 5 and its multiples

2241


What is endl c++?

838


Write a function to find the nth item from the end of a linked list in a single pass.

741


what is upcasting in C++?

924


What is the difference between containment and delegation?

946


What are the various operations performed on stack?

816