what is operator overloading n its function.wat is the core purpose we use it by providing me suitable example.i have read about it in book but very confused. hope someone out there can help me.please n thanks you very much.

>Help me!!!! about operator overloading
It doesn't work like this. You should be more specific about what you want to ask.

First of all read this link -> http://www.parashift.com/c++-faq-lite/operator-overloading.html and come back.

BTW a short answer to why we use operator overloading is so that our class have a intuitive interface.
Suppose you are writing a class called Date then you can overload the - operator to give you the difference in days between two dates like

Date d1("5/5/1991");
Date d2("30/5/1991");
cout<<d2-d1;
commented: Very good answer to the question at hand. +4