Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #include <string.h>
  2. #include <stdio.h>
  3. #include <stdlib.h>
  4. #include <limits.h>
  5. #include <ctype.h>
  6. #include <unistd.h>
  7.  
  8. int
  9. main(void)
  10. {
  11. freopen("t1.txt", "wb", stdout);
  12. char buf[] = "abababababababab";
  13. write(1, buf, 16);
  14. int a = INT_MAX - 1;
  15. write(1, &a, 4);
  16. return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement