How to stop conversions among objects?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
Why are arrays usually processed with for loop?
What is math h in c++?
structure contains int, char, float how it behaves for big endian and little endian?
How to write a program such that it will delete itself after exectution?
What is tellg () in c++?
What is the word you will use when defining a function in base class to allow this function to be a polimorphic function?
why and when we can declar member fuction as a private in the class?
What is the difference between the functions rand(), random(), srand() and randomize()?
Write a program to find the Fibonacci series recursively.
what are the iterator and generic algorithms.
Of the numbers 12 23 9 28 which would be at the top of a properly implemented maxheap a) 28 b) 9 c) Any of them could be
what are prototypes