Pergunta de entrevista da empresa MathWorks

What's the significance of a null pointer?

Respostas da entrevista

Sigiloso

9 de nov. de 2011

C language does not specify an implicit initialization for objects of automatic storage duration . To ensure that the address to which ptr points is valid its explicitly initialized to the null pointer.

2

Sigiloso

9 de nov. de 2011

A pointer that does not refer to a valid object