Describe functional overloading?

Answers were Sorted based on User's Feedback



Describe functional overloading?..

Answer / ningu

functional overloading means in a program we can have one or
more functions with the same name but they must differ in

:No of parameters passed
:order of the parameter passed
:the type of the parameter

Oop languages like C++ and Java posses this tecnique

Is This Answer Correct ?    8 Yes 1 No

Describe functional overloading?..

Answer / abhishek sinha

functiion overloading means in a program we can define more
than function with the same name but different argument.

Is This Answer Correct ?    2 Yes 1 No

Describe functional overloading?..

Answer / rasool

Ningu, its not necessary that the functions 'must' differ
in the :No of parameters passed
:order of the parameter passed
:the type of the parameter.

say, I have a function Add(int a , int b)
I still can have a function Add(int*a,int*b).

Function overloading is type of polymorphism in C++.i.e
multiple forms of the same function(methods).Function
overloading comes under compile time polymorphism.

Is This Answer Correct ?    2 Yes 1 No

Describe functional overloading?..

Answer / harini

function overloading means ,the same functions which is used for different purpose with different parameter..

Is This Answer Correct ?    1 Yes 0 No

Describe functional overloading?..

Answer / naidu

method name is same and signature is different, signature
means, .type of parameters or
.order of parameters or
.number of param

Is This Answer Correct ?    1 Yes 0 No

Describe functional overloading?..

Answer / vignesh

c consists of both object oriented and function oriented
but whereas java consists of only object oriented language

Is This Answer Correct ?    3 Yes 5 No

Post New Answer

More C++ General Interview Questions

Declare a class vehicle and make it an abstract data type.

0 Answers  


What is difference between shallow copy and deep copy? Which is default?

1 Answers  


Write a program and call it sortcheck.cpp which receives 10 numbers from input and checks whether these numbers are in ascending order or not. You are not allowed to use arrays. You should not define more than three variables

2 Answers   BirlaSoft, Crayonz,


What is vector pair in c++?

0 Answers  


Can we use pointers in c++?

0 Answers  






Write a C++ Program to Multiply two Numbers

1 Answers  


What are static type checking?

0 Answers  


What is c++ array?

0 Answers  


What is c++ library?

0 Answers  


What is tellg () in c++?

0 Answers  


I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.

0 Answers  


Does c++ vector allocate memory?

0 Answers  


Categories