Run ❯
Get your
own
website
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Change Language
Go to Spaces
Ctrl+Alt+P
#include
#include
struct Person { char initial; int age; double height; }; int main() { printf("%zu\n", offsetof(struct Person, initial)); printf("%zu\n", offsetof(struct Person, age)); printf("%zu\n", offsetof(struct Person, height)); return 0; }
0
4
8