Online GK Series

This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Postal Assistants, Bank, GATE and NET

Connect with Universities & Study Abroad Instantly Search University


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.

Your Valuable Comments Please...

Useful Computer Science EBooks