Answer Posted / vaibhav meena
We can have Private Destructor and by using Friend Function
we can also instantiate it. :)
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Is there any function that can skip certain number of characters present in the input stream?
what you know about c++?
Can non-public members of another instance of the class be retrieved by the method of the same class?
What is c++ similar to?
Does dev c++ support c++ 11?
If a header file is included twice by mistake in the program, will it give any error?
How can you quickly find the number of elements stored in a dynamic array? Why is it difficult to store linked list in an array?
Tell me what are static member functions?
How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?
What does asterisk mean in c++?
Define pointers?
Explain Memory Allocation in C/C++ ?
Is c++ the most powerful language?
Explain object slicing in c++?
What is a forward referencing and when should it be used?