Header file used for functions like malloc() and calloc() - stdlib.h

Q.  C programming: Which header file should be included to use functions like malloc() and calloc()?
- Published on 25 Jun 15

a. memory.h
b. stdlib.h
c. string.h
d. dos.h

ANSWER: stdlib.h
 
This header file defines four variable type,several macros and various functions for general function.

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.)