Question Detail

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

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

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

  • ;
  • :
  • >>
  • <<

2. Stack unwinding deals with

  • deals with polymorphism
  • deals with inheritance
  • deals with exception handing
  • deals with classes

3. Which type of variables can be referred from anywhere in the c++ code

  • All variables
  • Local variables
  • Universal variables
  • Global variables

4. expression x.y represents as

  • member x of object y
  • member y of object x
  • member y of object pointed by x
  • all of above

5. All members of class have which access to its members

  • private
  • public
  • protected
  • depends
Read more from - C++ Programming Questions Answers - Chapter 1