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. Can we overload constructors in C++

  • Yes
  • No

2. Which operator is used for comparing two variables

  • :=
  • =
  • =:
  • ==

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

  • True
  • False

4. Which class has only one unique value for all the objects of class

  • this
  • friend
  • static
  • none of above

5. Default constructor has how many arguments

  • 1
  • 2
  • 3
  • 0
Read more from - C++ Programming Questions Answers - Chapter 1