Does executing this code result in a segmentation fault?
#include <stdio.h>
int populate_array(int sin, int *sin_array) {
    //setting up dummy variables to test whether sin is a 9 digit in
    int dummy = sin;
    int count = 0;
    while (dummy != 0) {
        dummy = dummy / 10;
        count = count + 1;
    }
    if (count != 9) { //10 didn't divide into sin exactly 9 times, thus the number is not a 9 digit int 
        return 1;
    }
    else{
        for (int i = 8; i >= 0; i--) { //sin is a 9 digit int, so populate array
            sin_array[i] = sin % 10;
            sin = sin / 10;
        }
        return 0;
    }
}

int main() {
    int sin_array[9];
    printf("%d/n", populate_array(810620716, sin_array));
}
