Question Detail

Reference is like a

  • Pointer
  • Structure
  • Array
  • None of above
Similar Questions :

1. How to define a destructor

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

2. Declaring pointer more than one can cause

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

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

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

4. 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

5. what is a class in c++

  • Class in a collection of objects
  • Class has noting to do with object
  • It just have declaration of few variables
  • None of above
Read more from - C++ Programming Questions Answers - Chapter 1