download Mastguru Android App

Question Detail

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

  • calloc()
  • malloc()
  • realloc()
  • All of above
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. How to define a destructor

  • X~() {}
  • X() {}~
  • X() ~{}
  • ~X() {}

3. Can we overload constructors in C++

  • Yes
  • No

4. Stack unwinding deals with

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

5. Every class has atleast one construtor

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