what's the difference between function overloading and
function overiding?

Answer Posted / a srinivas rao

function overloading is the process of defining the same
function name with different arguments,number of
arguments ,or ordinal positions of arguments.

function overriding is the process of defining the Base
class function in the derived class with different code
implementation.

Is This Answer Correct ?    63 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define stl.

1037


please visit this site you'll find my question this is my homework please answer it if you can http://easyscience.org/ib/lofiversion/index.php/t36168.html

2012


sir please send me bpcl previous question papers

2157


When did c++ add stl?

948


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

2372


How stl is different from the c++ standard library?

863


how to use C++?

2266


What is a standard template library (stl)?

837


What two types of containers does the stl provide?

760


Do you like to Submit Questions in Bulk under Same Category?? Then use our Bulk ListerDo you like to Submit Questions in Bulk under Same Category?? Then use our Bulk Lister

1868


What are the symptoms of stl?

835


In what scenario does the Logical file and Physical file being used?

2549


What are stl algorithms?

866


Describe the My Computer and My Documents folders; identify the elements that are present in every Window.

2113


If P is the population on the first day of the year, B is the birth rate, and D is the death rate, the estimated population at the end of the year is given by the formula: The population growth rate is given by the formula: B – D Write a program that prompts the user to enter the starting population, birth and death rates, and n, the number of years. The program should then calculate and print the estimated population after n years. Your program must have at least the following functions: 1. growthRate: This function takes its parameters the birth and death rates, and it returns the population growth rate. 2. estimatedPopulation: This function takes its parameters the current population, population growth rate, and n, the number of years. It returns the estimated population after n years Your program should not accept a negative birth rate, negative death rate, or a population less than 2. please answer my question ....

2043