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

2. Dereference operator is also called as

  • pointer
  • Reference operator
  • Offset operator
  • Deoffset operator

3. Default constructor has how many arguments

  • 1
  • 2
  • 3
  • 0

4. C++ programs must contain

  • start()
  • system()
  • main()
  • program()

5. Which of the following functions below can be used Allocate space for array in memory

  • calloc()
  • malloc()
  • realloc()
  • All of above
Read more from - C++ Programming Questions Answers - Chapter 1
Post a comment