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
how to execute a program using if else condition and the output should enter number and the number is odd only...
What will the preprocessor do for a program?
What is linear search?
What does char * * argv mean in c?
Explain the advantages and disadvantages of macros.
Differentiate between static and dynamic modeling.
What is spaghetti programming?
What is the purpose of sprintf() function?
What does %c mean in c?
What is a header file?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
What is a loop?
Where are c variables stored in memory?
What is external variable in c?