after passing sin_array into the populate_array function, how do i access the modified array?
#include <stdio.h>
#include <stdlib.h>

int populate_array(int, int *);
int check_sin(int *);


int main(int argc, char **argv) {
    // TODO: Verify that command line arguments are valid.
    if (argc != 2) {
        return 2;
    }
    // TODO: Parse arguments and then call the two helpers in sin_helpers.c
    // to verify the SIN given as a command line argument.
    int sin_int = strtol(argv[1], NULL, 10);
    int *sin_array = malloc(sizeof(int) * 9);

    if (populate_array(sin_int, sin_array) == 1) {
        for (int i = 0; i < 9; i ++) {
            printf("%d\n", sin_array[i]);
        }
        return 1;
    } else if (check_sin(sin_array)) {
        return 1;
    }
    
    return 0;
}
