摘要
从语法和语义两方面对C语言的陷阱做了分析,并给出了防范相应陷阱的解决方案,为编写安全性要求高的代码提供参考。
C language traps are analyzed from the two aspects of the grammar and semantics,and the solutions of preventing corresponding traps are given,which provide references for writing the code of high safety requirements.
出处
《计算机时代》
2009年第11期72-74,共3页
Computer Era
关键词
C语言
语法陷阱
语义陷阱
指针
C language
grammar trap
semantic trap
pointer