Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdlib.h>
- #include <stdio.h>
- #include <malloc.h>
- #define SIZE 10
- #define TIMES 30000
- int main(int argc, char *argv[]){
- char *p, *q;
- char *a, *b, *c;
- int i = 0 ;
- a = malloc(5);
- for (i = 0 ; i < 10; i++){
- b = malloc(1);
- }
- c = malloc(4);
- free(a);
- free(c);
- a = malloc(4);
- p = malloc(17);
- p[0] = p[16] = 17;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement