What is operator overloading? Give Example
Answers were Sorted based on User's Feedback
Answer / ramkumar
when have two or more operator is called operator overloading.
E.g,. i++,a++b
| Is This Answer Correct ? | 10 Yes | 36 No |
Define a class to represent a bank account. Include the following members: Data Members: Name of the Depositor Account Number Type of Account Balance amount in the account Member Functions: To assign the initial values. To deposit an account. To withdraw an amount after checking the balance. Write a C++ main program to display account number, name and balance.
What do you mean by inheritance?
What is Object and Class? What are the differences between them?
What is virtual function?where and when is it used?
explain defference between structure and class with example
what is object slicing?
Differences between inline functions and non-inline functions?
What are the access specifiers avaible in c++?
1. Strong name 2. how to prevent a class from being inherited 3. delegates 4. default modifier for interface 5. default modifier for class 6. base class for exception 7. diff bet trigger and view in sql 8. how to exchange values from one page to another page 9. can multiple catch block ll be executed at same time 10. can u store different data types in an array & array list 11. when we ll use trigger 12. try,catch,finally usage
How to overload new operator in c++
Write 7 differences between "Public" function and "Private" function?
explain sub-type and sub class? atleast u have differ it into 4 points?