Sports GK Questions and Answers 2024 (Latest Updated)

Awards & Honours GK Questions 2024 (Latest Updated)

Question

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.

Advertisement
Assam Direct Recruitment Test Series