Null is a built-in constant that has a value of zero. So the function will return null value. Following may be the declaration for NULL Macro depending on the compiler. In C, NULL is a symbolic constant that always points to a nonexistent point in the memory. It's best to check your pointers against NULL directly, and use 0 in other contexts. It is the same as the character 0 used to terminate strings in C. Null can also be the value of a pointer, which is the same as zero unless the CPU supports a … Declaration. This keeps your code clean and easy to understand, since you'll know you're working with pointers every time you see NULL. David Bolton is a software developer who has worked for several major firms, including Morgan Stanley, PwC, BAE Systems, and LCH.C Programming Tutorial on Random Access File Handling If a null pointer constant is converted to a pointer type, the resulting pointer, called a null pointer, is guaranteed to compare unequal to a pointer to any object or function. Null is a built-in constant that has a value of zero. {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/a\/a9\/Check-Null-in-C-Step-1-Version-3.jpg\/v4-460px-Check-Null-in-C-Step-1-Version-3.jpg","bigUrl":"\/images\/thumb\/a\/a9\/Check-Null-in-C-Step-1-Version-3.jpg\/aid1092489-v4-728px-Check-Null-in-C-Step-1-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":"728","bigHeight":"546","licensing":"

License: Fair Use<\/a> (screenshot)
\n<\/p><\/div>"}{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/0\/06\/Check-Null-in-C-Step-2-Version-3.jpg\/v4-460px-Check-Null-in-C-Step-2-Version-3.jpg","bigUrl":"\/images\/thumb\/0\/06\/Check-Null-in-C-Step-2-Version-3.jpg\/aid1092489-v4-728px-Check-Null-in-C-Step-2-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":"728","bigHeight":"546","licensing":"

License: Fair Use<\/a> (screenshot)
\n<\/p><\/div>"}{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/1\/1c\/Check-Null-in-C-Step-3.jpg\/v4-460px-Check-Null-in-C-Step-3.jpg","bigUrl":"\/images\/thumb\/1\/1c\/Check-Null-in-C-Step-3.jpg\/aid1092489-v4-728px-Check-Null-in-C-Step-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":"728","bigHeight":"546","licensing":"

License: Fair Use<\/a> (screenshot)
\n<\/p><\/div>"}{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/9\/92\/Check-Null-in-C-Step-4.jpg\/v4-460px-Check-Null-in-C-Step-4.jpg","bigUrl":"\/images\/thumb\/9\/92\/Check-Null-in-C-Step-4.jpg\/aid1092489-v4-728px-Check-Null-in-C-Step-4.jpg","smallWidth":460,"smallHeight":345,"bigWidth":"728","bigHeight":"546","licensing":"

License: Fair Use<\/a> (screenshot)
\n<\/p><\/div>"}{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/c\/cb\/Check-Null-in-C-Step-5.jpg\/v4-460px-Check-Null-in-C-Step-5.jpg","bigUrl":"\/images\/thumb\/c\/cb\/Check-Null-in-C-Step-5.jpg\/aid1092489-v4-728px-Check-Null-in-C-Step-5.jpg","smallWidth":460,"smallHeight":345,"bigWidth":"728","bigHeight":"546","licensing":"

License: Fair Use<\/a> (screenshot)
\n<\/p><\/div>"}{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/7\/7b\/Check-Null-in-C-Step-6.jpg\/v4-460px-Check-Null-in-C-Step-6.jpg","bigUrl":"\/images\/thumb\/7\/7b\/Check-Null-in-C-Step-6.jpg\/aid1092489-v4-728px-Check-Null-in-C-Step-6.jpg","smallWidth":460,"smallHeight":345,"bigWidth":"728","bigHeight":"546","licensing":"

License: Fair Use<\/a> (screenshot)
\n<\/p><\/div>"}{"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/7\/7b\/Check-Null-in-C-Step-7.jpg\/v4-460px-Check-Null-in-C-Step-7.jpg","bigUrl":"\/images\/thumb\/7\/7b\/Check-Null-in-C-Step-7.jpg\/aid1092489-v4-728px-Check-Null-in-C-Step-7.jpg","smallWidth":460,"smallHeight":345,"bigWidth":"728","bigHeight":"546","licensing":"