You should use a pointer to pointers, alike argv that you receive from main(char **argv, ... argc)
a string is a array of chars, and argv is an pointer for that scructure.
You should use int **a, then create line by line in memory,
a should point:
a[0] => unnamed pointer => 0, 0, 0
a[1] => unnamed pointer => 0, 0
like when you do
argv[0] = "my program's name"
argv[1] = "my first param"
when whe use char strings there's an '\0' char at the end, so it's possible to know when it finishes, in that case must have some king of control, unlike Java in C you can overflow.