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
What is the use of string in c++?
What is a character in c++?
What is the best c++ ide?
Specify different types of decision control statements?
What is the difference between global variables and local variable
How is c++ different from java?
Explain the use of vtable.
Can member functions be private?
What are friend classes?
What is capacity in vector in c++?
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?
Write a Program for find and replace a character in a string.
Why do we need pointers?
Write a recursive program to calculate factorial in c++.
What are the various access specifiers in c++?