meu codigo esta dando erro mas não parece ter nada de errado
codigo:
#include <stdio.h>
int main() {
char mapa[16][7];
mapa[0][0] = "=";
mapa[15][6] = "@";
printf("%c %c", mapa[0][0], mapa[15][6]);
}
Erro:
fogefoge.c: In function 'main':
fogefoge.c:5:16: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
mapa[0][0] = "=";
^
fogefoge.c:6:17: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
mapa[15][6] = "@";
^