Q. Which function releases memory allocated by malloc()?

  • (A) release()
  • (B) free()
  • (C) dealloc()
  • (D) remove()
πŸ’¬ Discuss
βœ… Correct Answer: (B) free()
Explanation: free() deallocates memory that was allocated dynamically.
Explanation by: Mr. Dubey
free() deallocates memory that was allocated dynamically.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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