What is the outcome of cout<
a) 16
b) 17
c) 16.5
No Answer is Posted For this Question
Be the First to Post Answer
Check for Balanced Parentheses using Stack?
make a middle node of doubly linklist to the top of the list
What are the differences between new and malloc?
What is Destructor in C++?
How do I start a c++ project?
How does a C++ structure differ from a C++ class?
What is an html tag?
what are the types of Member Functions?
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
Which one is better- macro or function?
What is meaning of in c++?
How can you say that a template is better than a base class?