Q. Which function is used to allocate memory dynamically in C? (A) alloc() (B) malloc() (C) memalloc() (D) new() ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (B) malloc() Explanation: malloc() is used to allocate memory at runtime.