全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Null pointer?

Definition 4.2 University Computer Science — Year 1 · 第 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.

在原文中阅读 →