Guest User

Untitled

a guest
Jan 18th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. int main() {
  2. if (true) {
  3. while (false) {
  4. puts("");
  5. }
  6. }
  7. }
  8.  
  9. $ indent -kr < mini.c |hexdump -C
  10. 00000000 69 6e 74 20 6d 61 69 6e 28 29 0a 7b 0a 20 20 20 |int main().{. |
  11. 00000010 20 69 66 20 28 74 72 75 65 29 20 7b 0a 09 77 68 | if (true) {..wh|
  12. 00000020 69 6c 65 20 28 66 61 6c 73 65 29 20 7b 0a 09 20 |ile (false) {.. |
  13. 00000030 20 20 20 70 75 74 73 28 22 22 29 3b 0a 09 7d 0a | puts("");..}.|
  14. 00000040 20 20 20 20 7d 0a 7d 0a | }.}.|
  15. 00000048
  16.  
  17. 00000000 69 6e 74 0a 6d 61 69 6e 20 28 29 0a 7b 0a 20 20 |int.main ().{. |
  18. 00000010 69 66 20 28 74 72 75 65 29 0a 20 20 20 20 7b 0a |if (true). {.|
  19. 00000020 20 20 20 20 20 20 77 68 69 6c 65 20 28 66 61 6c | while (fal|
  20. 00000030 73 65 29 0a 09 7b 0a 09 20 20 70 75 74 73 20 28 |se)..{.. puts (|
  21. 00000040 22 22 29 3b 0a 09 7d 0a 20 20 20 20 7d 0a 7d 0a |"");..}. }.}.|
  22. 00000050
  23.  
  24. $ indent -kr -nut fizzbuzz.c
Add Comment
Please, Sign In to add comment