Advertisement
Guest User

Untitled

a guest
Aug 30th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. char world[5] = {'W', 'o', 'r', 'l', 'd', ''}; // It could have been shorted...
  2.  
  3. printf("Hello, %sn", world);
  4.  
  5. char world[5]={'W','o','r','l','d',''};printf("Hello, %sn",world);
  6.  
  7. for (int i = 0; i < 10; i++)
  8. {
  9. /* This has been made by
  10. * the worst code golfer
  11. * ever...
  12. */
  13. printf(i + 1);
  14. }
  15.  
  16. for(int i=0;i<10;i++)printf(i+1);
  17.  
  18. char c;
  19. while (5 - 4 == 1)
  20. {
  21. scanf(" %c", &c);
  22. printf("%c", c);
  23. }
  24.  
  25. char c;while(5-4==1){scanf(" %c",&c);printf("%c",c);}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement