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. ios::ate is used for

  • Set the initial position at the start of the file
  • Set the last position at the end of the file
  • Set the initial position at the end of the file
  • Set the last position at the start of the file

2. Which is not C++ storage class

  • auto
  • register
  • static
  • iostream

3. Inline functions are invoked at

  • Run time
  • Compile time
  • Debug time
  • None of above

4. What is the value of sizeof(char)

  • 1
  • 2
  • 4
  • 8

5. What is the meaning of base class in C++

  • Another class got inherit from this class
  • It inherit other class
  • It has a pointer variable
  • It is the first class declared
Read more from - C++ Programming Questions Answers - Chapter 1