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

what is graphics

2000


What is difference between inheritance and polymorphism?

559


write a program that takes input in digits and display the result in words from 1 to 1000

1980


How do you explain polymorphism?

580


Are polymorphisms mutations?

691






What are the benefits of polymorphism?

612


What is the point of oop?

642


how to get the oracle certification? send me the answer

1656


How is polymorphism achieved?

577


What causes polymorphism?

563


Whats is abstraction in oops?

585


write string class as your own class in java without using any built-in function

1965


What is byval and byref? What are differences between them?

1680


2. Give the different notations for the class.\

1580


What is oops and why we use oops?

569