What is operator overloading? Give Example
Answer Posted / msn
Making an operator doing different operation other than
the normal one is termed as operator overloading..
Say for example Operator + is normally used to add numbers
but we can add another function concatenate two strings
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What is difference between polymorphism and inheritance?
What is abstraction in oop?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
what's the basic's in dot net
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is object and class in oops?
Why do we use inheritance?
What is abstraction and encapsulation?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
what is difference between class template and template class?
What is polymorphism used for?
What is a function in oop?
How do you answer polymorphism?
Is oop better than procedural?
What is persistence in oop?