Answer Posted / pugalarasu
Overloading:
Same function name but different arguments
Eg:
A(int i);
A(int i,float f);
Overriding:
refers to functions that have the same signature as a
virtual function in the base class:
class B {
virtual void V();
};
class D : public B {
viod V();
};
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What are logical errors and how does it differ from syntax errors?
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
#include
What is a shell structure examples?
Is c still used?
What is the use of #define preprocessor in c?
What is getche() function?
an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational
Should I learn data structures in c or python?
Can we access the array using a pointer in c language?
Explain what is the purpose of "extern" keyword in a function declaration?
What do header files do?
What is the main difference between calloc () and malloc ()?
Is malloc memset faster than calloc?
What is the size of enum in c?