Skip to content

Commit

Permalink
Update c-ub-list.md
Browse files Browse the repository at this point in the history
  • Loading branch information
brotherbeer authored Apr 19, 2024
1 parent ca43d50 commit 1f1d7ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion c-ub-list.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<img src="logo.png" align="right"/>

<font face="幼圆">
# 附录:C 未定义行为成因列表 ![Version](https://img.shields.io/badge/version-1.3.2-brightgreen)
幼圆</font>
<img src="logo.png" align="left"/>

&emsp;&emsp;未定义的行为(Undefined Behavior),指程序不可预测的执行效果,一般由错误的代码实现引起。出于效率、兼容性等多方面原因,语言标准不便于定义错误程序的明确行为,而是将其统称为“未定义”的行为,可以是崩溃,也可以是非预期的任意表现,有些问题在编译器和执行环境的特殊处理下也可能不会造成实质性的危害,但不具备可移植性。代码质量管理的一个重要目标就是消除会导致未定义行为的代码。

Expand Down

0 comments on commit 1f1d7ff

Please sign in to comment.