2025年6月11日
摘要: 在学习c语言的过程中,我们被明确告知空指针是不能解引用的,会触发段错误,未定义行为,balabala 事实上这也没错,但是,有一个特殊的例子,请看下面这段程序 #include <stdio.h> typedef struct mystruct { char a; // 0 int b; // 4 阅读全文
posted @ 2025-06-11 17:00 Dylaris 阅读(106) 评论(0) 推荐(0)