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 the functions to open and close the file in c language?
What are static variables in c?
What would be an example of a structure analogous to structure c?
What is the difference between exit() and _exit() function?
What are logical errors and how does it differ from syntax errors?
write a program to generate address labels using structures?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
What is nested structure in c?
What are the two forms of #include directive?
What is the scope of local variable in c?
Is it acceptable to declare/define a variable in a c header?
How would you rename a function in C?
How do you define a string?
Write a program in c to replace any vowel in a string with z?
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?