Question Detail

How we define our name for constants

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

1. Which class has only one unique value for all the objects of class

  • this
  • friend
  • static
  • none of above

2. Declaring pointer more than one can cause

  • Trap
  • abort a program
  • error
  • none of above

3. What is the meaning of base class in C++

  • Another class got inherit from this class
  • It inherit other class
  • It has a pointer variable
  • It is the first class declared

4. Which of the following type of class allows only one object of it to be created

  • Virtual class
  • Abstract class
  • Singleton class
  • Friend class

5. Which is boolean operator for logical and

  • &
  • ||
  • &|
  • &&
Read more from - C++ Programming Questions Answers - Chapter 1