Is following functions are said to be overloaded?
int add(int a,int b)
char *add(int a,int b)
Answer Posted / ajay singh
No above function is not overloaded .... function over
loading can take place if the signature of the function is
different and the signature of the function do not include
the return type
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
What is the difference between abstraction and polymorphism?
what type of questions
What is the difference between inheritance and polymorphism?
Which language is pure oop?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
what type of question are asked in thoughtworks pair programming round ?
What is encapsulation with real life example?
Why is destructor used?
hi all..i want to know oops concepts clearly can any1 explain??
What is the main purpose of inheritance law?
What are the advantages of polymorphism?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
What is oops with example?