download Mastguru Android App

Question Detail

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

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

1. Default constructor has how many arguments

  • 1
  • 2
  • 3
  • 0

2. What is polymorphism

  • Ability to take more than one form
  • Ability to destroy destructor
  • Ability to create constructor
  • None of above

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

4. Reference is like a

  • Pointer
  • Structure
  • Array
  • None of above

5. If no constructor is there, then compiler assumes the class to have a default constructor with no arguments

  • True
  • False
Read more from - C++ Programming Questions Answers - Chapter 1
Post a comment