Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

different between overloading and overriding

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


Please Help Members By Posting Answers For Below Questions

Explain how can you determine the size of an allocated portion of memory?

1106


in linking some of os executables are linking name some of them

2126


What are the different types of pointers used in c language?

1042


Describe explain how arrays can be passed to a user defined function

1093


What is string constants?

1143


Write a program to check palindrome number in c programming?

1010


How can I check whether a file exists? I want to warn the user if a requested input file is missing.

1141


What are predefined functions in c?

1090


Is c is a middle level language?

1061


What is a constant?

1056


What is the difference between declaring a variable by constant keyword and #define ing that variable?

3358


What is difference between array and pointer in c?

1082


void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

1721


Explain what is wrong with this program statement?

1117


What is difference between far and near pointers?

1036