Question Detail

Which operator is used to define a member of a class from outside the class definition

  • ->
  • ::
  • .
  • >>
Similar Questions :

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

2. If value has not type, then the pointer pointing to this value will be known as

  • Empty pointer
  • Null pointer
  • Void pointer
  • None of above

3. Which is boolean operator for logical and

  • &
  • ||
  • &|
  • &&

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. Dereference operator is also called as

  • pointer
  • Reference operator
  • Offset operator
  • Deoffset operator
Read more from - C++ Programming Questions Answers - Chapter 1