Is set c++?
No Answer is Posted For this Question
Be the First to Post Answer
what is the behaviour of C and C++ compiler for the below statements. int *p; p = malloc(100); Is the behaviour same ? or different ?
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
What is object slicing and how can we prevent it?
Explain the use of vtable.
Is c++ used anymore?
Carry out conversion of one object of user-defined type to another?
Differences between private, protected and public and give examples.
Define a conversion constructor?
Can user-defined object be declared as static data member of another class?
Will the inline function be compiled as the inline function always? Justify.
describe private access specifiers?
Write any small program that will compile in "C" but not in "C++"