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 |
What is polymorphism and types?
When is a memory allocated to a class?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
Why and when is a virtual destructor needed?
Polymorphism with an example?
Difference between vector and array
Program to open a file with First argument
What is encapsulation in oop?
Write a program to get the binary tree.
What is meant by oops concept?
What is oops concept with example?
which structured data type is not used in c++? 1.union 2.structure 3.string 4.boolean