C Functions Question:
Download Questions PDF

Tell me what is NULL pointer in C?

Answer:

A null pointer does not point to any object.
NULL and 0 are interchangeable in pointer contexts.Usage of NULL should be considered a gentle reminder that a pointer is involved.
It is only in pointer contexts that NULL and 0 are equivalent. NULL should not be used when another kind of 0 is required.

Download C Functions Interview Questions And Answers PDF

Previous QuestionNext Question
Do you know pointer in C?What is #pragma statements?