Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #define LEN 1000
- void allow(){
- char *p;
- p = malloc(LEN);
- if(p == 0){
- perror("malloc failed");
- exit(1);
- }
- }
- main(){
- while(1){
- allow();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement