Q. Which header file is required for using malloc()?

  • (A) malloc.h
  • (B) stdlib.h
  • (C) memory.h
  • (D) alloc.h
πŸ’¬ Discuss
βœ… Correct Answer: (B) stdlib.h
Explanation: malloc() is declared in stdlib.h.
Explanation by: Mr. Dubey
malloc() is declared in stdlib.h.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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