C Functions Question:
Download Job Interview Questions and Answers 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.
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 Question | Next Question |
Do you know pointer in C? | What is #pragma statements? |