fork download
  1. #include <stdlib.h>
  2.  
  3. #define SIZE 100
  4.  
  5. void FillArray(int** arr1, int** arr2) {
  6. *arr1 = malloc(sizeof(int) * SIZE);
  7. *arr2 = malloc(sizeof(int) * SIZE);
  8. }
  9.  
  10. int main() {
  11. int* arr1;
  12. int* arr2;
  13. FillArray(&arr1, &arr2);
  14. return 0;
  15. }
  16.  
Success #stdin #stdout 0s 2136KB
stdin
Standard input is empty
stdout
Standard output is empty