C Pointers Question:
Download Questions PDF

Explain null pointer?


There are times when it's necessary to have a pointer that doesn't point to anything. The macro NULL, defined in <stddef.h>, has a value that's guaranteed to be different from any valid pointer. NULL is a literal zero, possibly cast to void* or char*. Some people, notably C++ programmers, prefer to use 0 rather than NULL.<stddef.h>

Download C Pointers Interview Questions And Answers PDF

Previous QuestionNext Question
Explain void pointer?Tell me what are bitwise shift operators?