Question Detail

Difference between static and dynamic memory allocation is

  • In static memory allocation memory to be allocated in preknown
  • In dynamic memory allocation memory to be allocated in preknown
  • There is no differnece
  • Not exact difference is mentioned
Similar Questions :

1. Dereference operator is also called as

  • pointer
  • Reference operator
  • Offset operator
  • Deoffset operator

2. cout is declared in the _____ standard file within the std namespace

  • outstream
  • stdin
  • iostream
  • None of above

3. Can #define accept parameters

  • Yes
  • No

4. Declaring pointer more than one can cause

  • Trap
  • abort a program
  • error
  • none of above

5. Can we overload constructors in C++

  • Yes
  • No
Read more from - C++ Programming Questions Answers - Chapter 1