preciso fazer uma matriz 5x1 de caracteres ao inverso porem não estou conseguindo. Sou novo nesse assunto e preciso da ajuda de vocês. :/ Por exemplo : Matriz normal: Chocolate é Muito Bom Matriz inversa: é etalocohC otiuM moB #include<stdio.h>
#include<locale.h>
#include<string.h>
main()
{
char matriz[5][100],n=1;
int x;
setlocale(LC_ALL,"Portuguese");
for(x=0;x<5;x++)
{
printf("Informe o %iº elemento da matriz:",n++);
gets(matriz[x]);
}
// for(x=0;x<5;x++)
// {
// printf("%s",matriz[x]);
// printf("\n");
// }
for(x=strlen(matriz);x>0;x--){
printf("%s",matriz[x]);
}
}Erro: [Error] cannot convert 'char (*)[100]' to 'const char*' for argument '1' to 'size_t strlen(const char*)'