Question Detail

How we define our name for constants

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

1. What is the value of sizeof(char)

  • 1
  • 2
  • 4
  • 8

2. How we mark the end of c++ statement

  • ;
  • :
  • >>
  • <<

3. Which is boolean operator for logical and

  • &
  • ||
  • &|
  • &&

4. Which among following has invalid syntax ?

  • #include
  • #include file
  • #include "file"
  • None of above

5. How to define a destructor

  • X~() {}
  • X() {}~
  • X() ~{}
  • ~X() {}
Read more from - C++ Programming Questions Answers - Chapter 1