GkSeries.com

Which header file should be included to use function like malloc() and calloc()?

[A] memory.h
[B] stdlib.h
[C] string.h
[D] dos.h
Answer & Explanation
Option: [B]

The stdlib.h header file contains malloc(), calloc() and realloc() dynamically allocated array functions.

⭐ Make GKSeries Your Preferred Source on Google

Add GKSeries as Preferred Source