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
Explain the advantages of inheritance.
Why is static class not inherited?
Why is abstraction needed?
Can private class be inherited?
What are the components of marker interface?
Can we override main method?
What is pure oop?
What is byval and byref? What are differences between them?
What are the benefits of oop?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
What are the benefits of polymorphism?
Can you explain polymorphism?
What is debug class?what is trace class? What differences are between them? With examples.
What is persistence in oop?
Can an interface inherit a class?