Q. Which operator is used to allocate memory dynamically in C++?

  • (A) malloc()
  • (B) calloc()
  • (C) new
  • (D) alloc()
πŸ’¬ Discuss
βœ… Correct Answer: (C) new
Explanation: In C++, the 'new' operator is used to allocate memory dynamically.
Explanation by: Admin
In C++, the 'new' operator is used to allocate memory dynamically.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
98
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Admin
Publisher
πŸ“ˆ
91%
Success Rate