Question Detail

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

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

1. ios::ate is used for

  • Set the initial position at the start of the file
  • Set the last position at the end of the file
  • Set the initial position at the end of the file
  • Set the last position at the start of the file

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

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

3. Can #define accept parameters

  • Yes
  • No

4. Which arithmetic operation can be done in pointer

  • Multiplication
  • Division
  • Addition
  • None of above

5. Can we overload constructors in C++

  • Yes
  • No
Read more from - C++ Programming Questions Answers - Chapter 1