摘要:
1、结构体内存对齐 结构体内存对齐在笔试和面试中经常被问到,所以做个总结,首先通过代码验证不同结构体的内存大小: #include <stdio.h> struct Node1{ char c1; int val1; char c2; }; struct Node2{ char c1; char c 阅读全文
posted @ 2021-10-29 23:19
学渣的C/C++
阅读(533)
评论(0)
推荐(0)

浙公网安备 33010602011771号