Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- long long **arr =(long long **)malloc((int)sizeof(long long *) * row);
- if(arr==NULL)
- printf("Error allocating array");
- for(i = 0; i < row; i++){
- arr[i] =(long long *) malloc(2*sizeof(long long));
- if(arr==NULL)
- printf("Error allocating memory");
- }
Advertisement
Add Comment
Please, Sign In to add comment