For instance, shouldn't the following code work if I wanted to pass an element of a 2d array? if not what would be the best way to do it? Thank you!
#include <iostream>
using namespace std;
void randomProgram(char random[][]){
random code inside of here;
}
int main(){
char letters[6][6] = {random variables inside of here};
randomProgram(letters[][]);
return 0;
}