Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.25 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #define MAX 415242
  4. int main (void)
  5. {
  6.     char *arr0=calloc(MAX,sizeof(char));
  7.     if(arr0==NULL)
  8.     {
  9.         fprintf(stderr,"ERROR: calloc returned NULL.\n");
  10.         exit(EXIT_FAILURE);
  11.     }
  12.     free(arr0);
  13.     return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement