C Basics - C programming (MCQ) questions for Q. 27515

Q.  Specify the 2 library functions to dynamically allocate memory?
- Published on 26 Feb 17

a. malloc() and memalloc()
b. alloc() and memalloc()
c. malloc() and calloc()
d. memalloc() and faralloc()

ANSWER: malloc() and calloc()

Post your comment / Share knowledge


Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)