How to stop conversions among objects?

Answer Posted / v.senthil kumaran

Declare operator function (dummy) for assignment operator
in the private section of the class.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a c++ class?

874


the first character in the variable name must be an a) special symbol b) number c) alphabet

850


Can we use struct in c++?

784


what is C++ exceptional handling?

842


What is expression parser in c++

2150


Is overriding possible in c++?

780


Why is c++ still popular?

799


Give 10 points of differences between C & C++.

871


What is the extraction operator and what does it do?

838


Discussion on error handling of C++ .

865


What is the use of ::(scope resolution operator)?

848


What is cout flush?

771


Can we declare a base-class destructor as virtual?

768


What is name hiding in c++?

890


What are the operators in c++?

870