Q. Which function is used to allocate memory dynamically in C?
β
Correct Answer: (B)
malloc()
Explanation: malloc() is used to allocate memory at runtime.