S

Shiva Ram • 30.44K Points
Instructor I

Q. Which operator is used for dynamic memory allocation in C++?

  • (A) malloc
  • (B) new
  • (C) alloc
  • (D) allocate
  • Correct Answer - Option(B)
  • Views: 25
  • Filed under category C++

Explanation by: Shiva Ram
The 'new' operator is used for dynamic memory allocation in C++.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics