Q. Which header file is needed for memory allocation functions?

  • (A) stdio.h
  • (B) stdlib.h
  • (C) malloc.h
  • (D) mem.h
πŸ’¬ Discuss
βœ… Correct Answer: (B) stdlib.h
Explanation: stdlib.h contains declarations for malloc, free, etc.
Explanation by: Mr. Dubey
stdlib.h contains declarations for malloc, free, etc.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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