Question Detail

How we define our name for constants

  • #constant
  • #define
  • #define_constant
  • #constant_define
Similar Questions :

1. Can we overload constructors in C++

  • Yes
  • No

2. Which of the following cannot be inherited from the base class

  • Constructor
  • Friend
  • Both A and B cannot be inherited
  • Both A and B can be inherited

3. Which operator is used for comparing two variables

  • :=
  • =
  • =:
  • ==

4. How to define a destructor

  • X~() {}
  • X() {}~
  • X() ~{}
  • ~X() {}

5. Stack unwinding deals with

  • deals with polymorphism
  • deals with inheritance
  • deals with exception handing
  • deals with classes
Read more from - C++ Programming Questions Answers - Chapter 1