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 is for loop and its syntax?
Is this job good for future? can do this job post grduate student?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
Is abstract thinking intelligence?
How is polymorphism achieved?
How many human genes are polymorphic?
Where is pseudocode used?
What is advantage of inheritance?
What is inheritance in oop?
What are the types of abstraction?
What is the difference between static polymorphism and dynamic polymorphism?
What is a null tree?
Why is object oriented programming so hard?
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.