download Mastguru Android App

Question Detail

What is inheritance

  • Inheritance allows one class to reuse the state and behavior of another class.
  • It deals with dangling pointers
  • It deals with void pointers
  • It is type of class declaration
Similar Questions :

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

  • private
  • public
  • protected
  • depends

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

3. Dereference operator is also called as

  • pointer
  • Reference operator
  • Offset operator
  • Deoffset operator

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. What is abstract class

  • Whose objects cant be created
  • Whose objects can be created
  • Depends on class
  • None of above
Read more from - C++ Programming Questions Answers - Chapter 1
Post a comment