Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdlib.h>
- #include <stdio.h>
- int main(void)
- {
- size_t NNUMBERS = 50000;
- char **arr=calloc(NNUMBERS,sizeof(char *));
- if(arr==NULL)
- {
- exit(EXIT_FAILURE);
- }
- for(size_t i=0;i<NNUMBERS;i++)
- {
- *(arr+i)=calloc(3,sizeof(char));
- if(*(arr+i)==NULL)
- {
- exit(EXIT_FAILURE);
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement