Join our Telegram Channel

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
GkSeries apsc prelims 2023 test series
Advertisement
GkSeries Android App

Today's Top Current Affairs

Current Affairs MCQs

State-wise Current Affairs

General Knowledge

Month-wise Current Affairs 2022

Category-wise Current Affairs

Jobs by Qualification

Free Mock Test