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 |
Why static functions always uses static variables?
Why is oop useful?
What is difference between new and malloc?
What is Inheritance, Multiple Inheritance, Shared and Repeatable Inheritance?
Why do we use oops?
What is the problem with multiple inheritance?
write string class as your own class in java without using any built-in function
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
Difference between vector and array
me get an assignent n its question is this 1.creat a set as in math i.ea={1,2} 2.insert element in it3. delete element don,t repeat any element 4.union 5. intersection of two sets plz help me i always pray for u n send me at ayeshawzd@hotmail.com f u have c++ how to program 5th addition then it is the 10.9 question in 10th chapter exercise
What is oops with example?
What is super in oop?