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
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
What is the types of inheritance?
What do you mean by overloading?
What is constructor overloading in oop?
What is an interface in oop?
Why multiple inheritance is not possible?
What are constructors in oop?
What is the significance of classes in oop?
which feature are not hold visual basic of oop?
What is inheritance write a program to show use of inheritance?
What is encapsulation selenium?
What is static in oop?
What is overloading in oops?
what's the basic's in dot net
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(); }