Is c++ a programming language?
No Answer is Posted For this Question
Be the First to Post Answer
Live example for static function?
What is flush c++?
What is the use of ::(scope resolution operator)?
What is c++ hiding?
How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?
If a function doesn’t return a value, how do you declare the function?
Is c++ a good first language to learn?
Why is c++ is better than c?
Difference between an inspector and a mutator
What does ios :: app do in c++?
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.
Is it legal in c++ to overload operator++ so that it decrements a value in your class?