Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Null pointer?

Definition 4.2 University Computer Science — Year 1 · Capítulo 4 — Pointers and Arrays

The null pointer of a pointer type, written NULL (or 0), compares unequal to the address of every object and function. It means “points to nothing”: a function that finds nothing returns it, and a pointer variable not yet given a target should hold it. Dereferencing the null pointer is undefined behaviour.

Ler no capítulo →