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 / 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 |
When a private constructer is being inherited from one class to another class and when the object is instantiated is the space reserved for this private variable in the memory??
How is exception handling carried out in c++?
Why is polymorphism important in oop?
How to improve object oriented design skills?
Why u change company?
What are functions in oop?
In what situation factory design patterns,DAO design patterns,singleton design patterns should be applied.?
Why do pointers exist?
Can you name some types of inheritance?
can inline function declare in private part of class?
What is ambiguity in c++
How to call a non virtual function in the derived class by using base class pointer