What is the correct form to initialize a multiscripted array?
1-
Code:
char names[3][11] = {{"texto1.txt"}, {"texto2.txt"}, {"texto3.txt"}};
2-
Code:
char names[3][11] = {"texto1.txt", "texto2.txt", "texto3.txt"};
Thanks.