Skip to content

Commit

Permalink
update #tip 41 错别字
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzheng1 committed Apr 30, 2024
1 parent 63627fe commit e0cdfab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/041.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

- **对齐**:数据类型根据其大小具有特定的对齐要求。

例如,一个 int32 类型可能需要在 4 字节边界上对齐,这意味着它的启始内存地址应该是 4 的倍数。
例如,一个 int32 类型可能需要在 4 字节边界上对齐,这意味着它的起始内存地址应该是 4 的倍数。

- **填充**:为了满足对齐要求,编译器可能会在结构体字段之间插入未使用的空间(填充)。

Expand Down

0 comments on commit e0cdfab

Please sign in to comment.