上述 C++ 代码中定义了两个结构体 Foo 和 Bar 。在 SysV AMD64 ABI 下,他们的实际大小应该分别为?
Anonymous Quiz
sizeof(Foo) = 8, sizeof(Bar) = 8
sizeof(Foo) = 8, sizeof(Bar) = 7
sizeof(Foo) = 8, sizeof(Bar) = 3
sizeof(Foo) = 4, sizeof(Bar) = 8
sizeof(Foo) = 4, sizeof(Bar) = 7
sizeof(Foo) = 4, sizeof(Bar) = 3
47 answered