Q. Which of the following functions is used to dynamically allocate memory in C?
β
Correct Answer: (D)
Both malloc() and calloc()
Explanation: 'malloc()' and 'calloc()' both are used to allocate dynamic memory in C.