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. what is the size of int datatype for 32 bit system

  • 1 byte
  • 2 byte
  • 4 byte
  • 8 byte

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

3. C++ programs must contain

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

4. How to define a destructor

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

5. Inline functions are invoked at

  • Run time
  • Compile time
  • Debug time
  • None of above
Read more from - C++ Programming Questions Answers - Chapter 1