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 |
write a program which best describes polymorphism in real world?
2 Answers CTS, Infosys, NexGen,
When is it necessary to use member-wise initialization list in C++?
#include <iostream> using namespace std; int main() { int a = 2; int c[5][5]; for (int x=0;x<5;x++) { for (int y=0;y<5;y++) { c[x][y] = x*y; } } cout << c[a][c[1][4]]; }
what is diff between .net 1.1 and .net 2.0
program in c++ that can either 2 integers or 2 floating point numbers and output the smallest number
what is the difference between class and object?
Why do we use encapsulation in oops?
What is methods in oop?
tel me oops defination in single line
Why do we use class?
What is the use of unnamed namespaces in OOPS? The only advantage I know is that they dont need the scope resolution operator while accessing them. I want to know some other advantages of unnamed namespaces...
Contrast OOP and SOA. What are tenets of each?
1 Answers Siebel Systems, Wipro,