Ask Sawal : Question Answer Forum

What is null pointer in c?

Asked By: Adhira Maharaj

Share on Facebook
Tweet on Twitter
Share on Linkedin
Share on Reddit
Share on Whatsapp

1 Answer(s) Available

Computer and Information Scientists, Research Android Outreach Business Intelligence Ludhiana India

A null pointer is a special reserved value which is defined in a stddef header file. What is null pointer in C? - Null pointer is a pointer which is pointing to nothing. The word "NULL" is a constant in C language and its value is 0. The C standard does not say that the null pointer is the same as the pointer to memory address 0, though that may be the case in practice.


Related Questions


Lost Password!

Create Account