Advertisement
Guest User

Untitled

a guest
Nov 9th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. #include <cstdio>
  2.  
  3. int main(){
  4. union {
  5. int foo;
  6. char bar[4];
  7. };
  8.  
  9. foo = 0xa6f6f46;
  10. printf("%4s\n", bar);
  11. return 0;
  12. }
  13.  
  14. // Run: g++ foo.cc && ./a.out
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement