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 |
How to create a comment page in C #??
What is use of overloading?
In c++ there is only virtual destructors, no constructors. Why?
why c++ is a highlevel language
3 Answers Satyam, Tech Mahindra,
Is html an oop?
where is memory for struct allocated? where is memory for class-object allocated? I replied for struct in stack and for class-object in heap. THen he asked if class has struct member variable what happens.class on heap and what about struct in that class? couldnt ans :( :-?
in the following, A D B G E C F Each of the seven digits from 0,1,2,3,4,5,6,7,8,9 is: a)Represented by a different letter in abov fig: b)Positioned in the fig abov so tht A*B*C,B*G*E,D*E*F are equal. wch does g represents? C
write string class as your own class in java without using any built-in function
what are three tenets of object orinted Systems?Why they call like that ? Please answer me. Advance thanks.
What is encapsulation?
What is polymorphism and example?
tel me oops defination in single line