How to stop conversions among objects?

Answer Posted / vk

Using explicit keyword in the constructor

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00

827


Why do you use the namespace feature?

872


What are multiple inheritances (virtual inheritance)?

814


Which function cannot be overloaded c++?

825


What is c++ in english?

822


How java is different from c and c++?

929


Why we use #include iostream in c++?

775


What is the arrow operator in c++?

768


What is class and structure in c++?

773


What is the use of object in c++?

822


What are mutator methods in c++?

917


How does com provide language transparency?

792


What are the advantages of c++?

1303


Eplain extern keyword?

780


How is c++ different from java?

787