Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >uname -m
- sun4u
- >cat strict.c
- #include <stdio.h>
- #include <stdint.h>
- int main(void){
- uint16_t a[8];
- printf("%d\n", *((int*) (a + 0)) );
- printf("%d\n", *((int*) (a + 1)) );
- }
- >gcc -o strict strict.c
- >./strict
- 0
- Bus Error (core dumped)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement