πŸ“Š C Programming
Q. Which function is used to allocate memory dynamically in C?
  • (A) alloc()
  • (B) malloc()
  • (C) memalloc()
  • (D) new()
πŸ’¬ Discuss
βœ… Correct Answer: (B) malloc()

Explanation: malloc() is used to allocate memory at runtime.

Explanation by: Mr. Dubey
malloc() is used to allocate memory at runtime.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
60
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
88%
Success Rate