download Mastguru Android App

Question Detail

How we define our name for constants

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

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

  • ;
  • :
  • >>
  • <<

2. Which among following has invalid syntax ?

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

3. What is getline() in c++

  • getline() extract the delimeter newline character from the input stream
  • getline() does not extract the delimeter newline character from the input stream
  • None of above

4. Every class has atleast one construtor

  • True
  • False

5. How to define a destructor

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