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

  • (A) calloc()
  • (B) malloc()
  • (C) realloc()
  • (D) All of the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the above
Explanation: All three are used for dynamic memory allocation.
Explanation by: Mr. Dubey
All three are used for dynamic memory allocation.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
90
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
80%
Success Rate