Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct S{
- char c;
- int x;
- };
- void main(void) {
- struct S s;
- *(int*)((void*)&s+1) = 10;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement