Why do we use constructor?
No Answer is Posted For this Question
Be the First to Post Answer
How does throwing and catching exceptions differ from using setjmp and longjmp?
Can I make ios apps with c++?
write a program that will produce the ff. output. "what fruit will you buy? 1)apple 2)orange 3)mango ENTER CHOICE (1,2 or 3)> HOW MANY WILL YOU BUY?> THAT WILL COST XX.XX
Explain object slicing in c++?
Can we have "Virtual Constructors"?
Write a program for Divide a number with 2 and Print the output ( NOTE: Check for divide by zero error).
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 many types of modularization are there in c++?
Why iomanip is used in c++?
What is a v-table?
How do you establish an is-a relationship?
Which operations are permitted on pointers?