how do i make this compile
struct pixel **read_pixel_array(FILE *image, int pixel_array_offset, int width, int height) {
    struct pixel arr = malloc(height * sizeof(struct pixel *));
    for (int i = 0; i < height; i++) {
        &arr[i] = malloc(3 * width);
    }
    fseek(image, pixel_array_offset, SEEK_SET);
    fread(arr, 3, 1, image);
    return arr[0];

}
