C Programming - Pointers - Discussion

Discussion Forum : Pointers - General Questions (Q.No. 3)
3.
In which header file is the NULL macro defined?
stdio.h
stddef.h
stdio.h and stddef.h
math.h
Answer: Option
Explanation:
The macro "NULL" is defined in locale.h, stddef.h, stdio.h, stdlib.h, string.h, time.h, and wchar.h.
Discussion:
48 comments Page 3 of 5.

Omkar Patil said:   9 years ago
It also defined in alloc.h and mem.h.

Shanthi said:   9 years ago
Please tell about B].stddef.h.

Rashmi said:   9 years ago
Please explain locale.h header file. What does it contain?

Akshay Kalra said:   7 years ago
NULL is defined as:

#define NULL (void *)0

Vanitha said:   1 decade ago
If it necessary to include both the header files?

Balan said:   2 decades ago
Stddef stands for standard definiton.

Which is called for certain exceptional declaration.

Anit said:   1 decade ago
What kind of standard definition?

Priyanga said:   1 decade ago
Please tell about null macros.

Bindhu said:   1 decade ago
Please tell about stdlib.h.

Tasneem said:   1 decade ago
Hay stdlib is a header file, you can also see the functions include in the header file in turbo c software.

Can anybody explain what is null macro and what kind of functions the stddef header file includes.


Post your comments here:

Your comments will be displayed after verification.