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


Please Help Members By Posting Answers For Below Questions

officer say me - i am offered to a smoking , then what can you say

1578


What polymorphism means?

620


Is data hiding and abstraction same?

567


What makes a language oop?

596


Why we use classes in oop?

581






What is the real life example of polymorphism?

605


What is polymorphism in oop example?

515


What is the benefit of oop?

570


What is oops in programming?

566


What does sksksk mean in text slang?

1534


What is encapsulation and abstraction? How are they implemented in C++?

637


What is oops and its features?

587


What are the features of oop?

637


if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?

2753


Can an interface inherit a class?

559