Multiple choice

Which of the following is not the valid header file?

  1. stdio.h

  2. assert.h

  3. alloc.h

  4. malloc.h

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

stdio.h is used for the standard input/output. assert.h contains the assert(). alloc.h contains the malloc(), calloc(), realloc() etc. malloc.h is not a header file.