prog.c: In function ‘main’:
prog.c:20:17: error: passing argument 2 of ‘not_main’ from incompatible pointer type [-Werror=incompatible-pointer-types]
not_main(2, array_ptr);
^~~~~~~~~
prog.c:4:12: note: expected ‘char **’ but argument is of type ‘char * (*)[3]’
static int not_main(int argc, char **argv)
^~~~~~~~
cc1: all warnings being treated as errors