What is an opaque pointer?
Answer / ritesh pal
A pointer is said to be opaque if the definition of the type to which it points to is not included in the current translation unit. A translation unit is the result of merging an implementation file with all its headers and header files.
| Is This Answer Correct ? | 0 Yes | 0 No |
What about Virtual Destructor?
What is c++ vb?
How do I download c++?
Which function cannot be overloaded c++?
What is a tuple c++?
What c++ is used for?
What are the different types of polymorphism?
Explain 'this' pointer and what would happen if a pointer is deleted twice?
What are features of c++?
What and all can a compiler provides by default?
How can you quickly find the number of elements stored in a dynamic array?
class X { private: int a; protected: X(){cout<<"X constructor was called"<<endl;} ~X(){cout<<"X destructor was called"<<endl} }; Referring to the code above, which one of the following statements regarding "X" is TRUE? a) X is an abstract class. b) Only subclasses of X may create X objects. c) Instances of X cannot be created. d) X objects can only be created using the default copy constructor. e) Only friends can create instances of X objects.