Advertisement
Guest User

Untitled

a guest
Aug 24th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #include<stdio.h>
  2. #define LEN 1000
  3. void allow(){
  4. char *p;
  5. p = malloc(LEN);
  6. if(p == 0){
  7. perror("malloc failed");
  8. exit(1);
  9. }
  10. }
  11. main(){
  12. while(1){
  13. allow();
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement