I'm trying to pass variables as a reference, but I have no idea how to pass two-dimensonal arrays.

Let's s say we have a char name [2][6], and an int num[1][2] how would I pass'em to an Input fuction to assign values by reference and then send them to a print function (by reference)? They have to be declared in main.