Answer Posted / kavitha
If any situation like that the constructor should build the
objects and should not get used for carrying out
conversions, In that situation we are required to use the
explicit keyword with the constructor.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the best way to declare and define global variables?
What are the restrictions apply to constructors and destructors?
What is array in c++ pdf?
What is the use of c++ programming language in real life?
What is microsoft c++ redistributable 2013?
What is a tree in c++?
How new/delete differs from malloc()/free?
What flag means?
What is polymorphism & list its types in c++?
What are namespaces in c++?
What are the 2 main types of data structures?
Define a nested class. Explain how it can be useful.
What is a multiset c++?
What are separators in c++?
Mention the ways in which parameterized can be invoked. Give an example of each.