a class that maintains a pointer to an object that is
programatically accessible through the public interface is
known as?
Answers were Sorted based on User's Feedback
Answer / venkataramakrishna. danduri
It is nothing but a Smart pointer.
| Is This Answer Correct ? | 1 Yes | 0 No |
In java a final class is a class that cannot be derived. How can you make a similar class in C++
class A { public: void f(); protected: A() {} A(const A&){} }; Examine the class declaration shown above. Why are the default and copy constructors declared as protected? 1. To ensure that A cannot be created via new by a more derived class 2. To ensure that A cannot be copied 3. To ensure that A cannot be used as a base class except when public inheritance has been used 4. To ensure that A cannot be created/copied outside the inheritance chain 5. To ensure that A cannot be instantiated as a static variable
How the endl and setw manipulator works?
Function can be overloaded based on the parameter which is a value or a reference. Explain if the statement is true.
Are c and c++ similar?
Why is c++ a mid-level programming language?
Describe the advantage of an external iterator.
What is function overloading c++?
Describe private, protected and public?
What is data binding in c++?
What do the header files usually contains?
write a c++ program that gives output 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 using looping statement