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?

Answer Posted / s.verma

The return type of the function and the type of arguments
passed to the function will determine which function will be
called.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program to find 2 power of a 5digit number with out using big int and exponent ?

2111


What is polymorphism oop?

805


what is graphics

2200


What is encapsulation example?

740


Why interface is used?

727


write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory

2973


Are polymorphisms mutations?

882


What is polymorphism and example?

762


What is the renewal class?

2396


What is the difference between a mixin and inheritance?

710


What is the problem with multiple inheritance?

797


What is abstraction in oops with example?

974


What is constructor overloading in oop?

830


can we make game by using c

3701


What is the point of polymorphism?

759