Home / C Programming / Pointers :: Discussion

Discussion :: Pointers

  1. In which header file is the NULL macro defined?

  2. A.
    stdio.h
    B.
    stddef.h
    C.
    stdio.h and stddef.h
    D.
    math.h

    View Answer

    Workspace

    Answer : Option C

    Explanation :

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


Be The First To Comment