I would like to now if this is a correct way to declare an array of strings in C, something like this:
#include <stdio.h>
#include <string.h>
#define rows 6
#define colu 2
char* bdato [rows][colu]={/*here using the pointer, I'm not sure*/
{"tc","Torta Cubana "},
{"th","Torta Huatulco"},
{"tm","Torta Mexicana"},
{"tr","Torta Rusa "},
{"r ","Refresco "},
{"a ","Agua sabor "}};
int impri(){
int x;
for (x=0;x<6;x+=1) {
printf("%s %s \n",bdato[x][0],bdato[x][1]);
}
return 0;
}