void fib(int **point, int n) {
    *point = malloc(sizeof(int) * n);
    int curr = 1;
    int prev = 0;
    if (n == 1) {
        *point[0] = prev;
    } else if (n == 2) {
        *point[0] = prev;
        *point[0] = curr;
    } else {
        int temp;
        *point[0] = prev;
        *point[1] = curr;
        for (int e = 2, e<n, e++) {
            temp = curr;
            curr = curr + prev;
            prev = temp;
            *point[e] = curr;
        }
    }
}
Should set point to the first n elements of the Fibonacci sequence