Interview Questions and Answers

In which header file is the NULL macro defined?

A   stdio.h

B   stddef.h

C   stdio.h and stddef.h

D   math.h


Correct Option - C

ExplainationThe macro "NULL" is defined in locale.h, stddef.h, stdio.h, stdlib.h, string.h, time.h, and wchar.h.

Report this question

Write Your Comments
!You need to be logged in to post comment

Share This Page -