Is following functions are said to be overloaded?
int add(int a,int b)
char *add(int a,int b)
Answer Posted / arunkumar995
Function overloadig can not be achive only chaining the
return type.We must havv to change the aruments.
int add(int a,int b)
char*add(int a,int b)
one think that return type not make important role in
function overloading.In fun Overloading must effect on the
arguments.
Thus we say the given [int add(int a,int b)
char*add(int a,int b)]is not function overloaded.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What causes polymorphism?
What is polymorphism explain its types?
What is multilevel inheritance?
What are different oops concepts?
What is overloading and its types?
What is the real time example of encapsulation?
What is difference between oop and pop?
why reinterpret cast is considered dangerous?
How is class defined?
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy
what is difference between class template and template class?
What is the fundamental idea of oop?
write knight tour problem which is present in datastructure
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What is the oops and benefits of oops programming?