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
Why do we use inheritance?
What is encapsulation c#?
write a C++ program for booking using constructor and destructor.
How can you overcome the diamond problem in inheritance?
What is the importance of oop?
What is abstraction in oops?
How oops is better than procedural?
What is inheritance write a program to show use of inheritance?
when to use 'mutable' keyword and when to use 'const cast' in c++
Can abstract class have normal methods?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
What is a superclass in oop?
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
What is cohesion in oop?