void fib(int **sequence, int n){
 *sequence = malloc(sizeof(int) * n);
 *sequence[0] = 0;
 *sequence[1] = 1;
 
    for(int i = 2; i < n ; i++){
      *sequence[i] = *sequence[i-2] + *sequence[i-1];
    }
}

store fibonacci in a pointer to an array