Difference between Overloading and Overriding?
Answer Posted / gaurav rawat
* in overloading function name are same but signatures
(argument) are different .
while in overriding function name are as well as argument
are same in drive class as in super class.
* for overloading can be done in one class but
for overriding there is necessary that at least two class
should be present.
| Is This Answer Correct ? | 101 Yes | 24 No |
Post New Answer View All Answers
Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement
What are the sizes and ranges of the basic c++ data types?
Why do we use vector in c++?
What are the types of array in c++?
What is a loop? What are different types of loops in c++?
If dog is a friend of boy and boy is a friend of house, is dog a friend of house?
What is a buffer c++?
what are the decision making statements in C++? Explain if statement with an example?
Is facebook written in c++?
Search for: what is pair in c++?
What are c++ tokens?
how can i access a direct (absolute, not the offset) memory
address?
here is what i tried:
wrote a program that ask's for an address from the user,
creates a FAR pointer to that adress and shows it. then the
user can increment/decrement the value in that address by
pressing p(inc+) and m(dec-).
NOW, i compiled that program and opened it twice (in 2
different windows) and gave twice the same address to it.
now look what happen - if i change the value in
one "window" of the program, it DOES NOT change in the
other! even if they point to the same address in the memory!
here is the code snippet:
//------------------------------------------------------
#include Which sort does c++ use? What language is a dll written in? What do c++ programmers do?