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

What does flush do c++?

0 Answers  


What is endl c++?

0 Answers  


What is a "RTTI"?

6 Answers   HCL,


What is a catch statement?

0 Answers  


class A { public: void f(); protected: A() {} A(const A&){} }; Examine the class declaration shown above. Why are the default and copy constructors declared as protected? 1. To ensure that A cannot be created via new by a more derived class 2. To ensure that A cannot be copied 3. To ensure that A cannot be used as a base class except when public inheritance has been used 4. To ensure that A cannot be created/copied outside the inheritance chain 5. To ensure that A cannot be instantiated as a static variable

1 Answers  






What is the size of pointer ? Also size of pointer in 64 bit pointer

4 Answers  


Is there a sort function in c++?

0 Answers  


. If employee B is the boss of A and C is the boss of B and D is the boss of C and E is the boss of D. Then write a program using the Database such that if an employee name is Asked to Display it also display his bosses with his name. For eg. If C is displayed it should also display D and E with C?

0 Answers  


What is type of 'this' pointer?

0 Answers  


Explain about vectors in c ++?

0 Answers  


How are Structure passing and returning implemented by the compiler?

0 Answers  


What is general form of pure virtual function? Explain?

0 Answers  


Categories