Undefined、Unspecified、Implementation-defined 与诊断 | C语言

本章覆盖:undefined behavior;unspecified behavior;implementation-defined behavior;constraint violation 与诊断;可移植程序不能依赖未被标准保证的偶然行为;编译成功不等于程序没有未定义行为。

本章知识点

  • undefined behavior
  • unspecified behavior
  • implementation-defined behavior
  • constraint violation 与诊断
  • 可移植程序不能依赖未被标准保证的偶然行为
  • 编译成功不等于程序没有未定义行为