3
When I spin that code:
#include <stdio.h>
int main(void) {
int teste[10];
printf("Imprimindo o vetor 'teste': %d\n", teste);
printf("O endereço do primeiro elemento é: %d\n", teste[0]);
return 0;
}
The letters "is" and "ç" come out with these strange symbols:
How to get these letters read by the program with UTF-8 encoding?
I guess that answers, doesn’t it? https://answall.com/q/137043/101
– Maniero
Possible duplicate of Clang has Character error Too large but Visual Studio builds normal
– rLinhares
The
setlocale (LC_ALL, "portuguese");
and its IDE configuration– Isac
I disagree that it is duplicate. The other question is about compilation problems because some characters have more than one byte. On this deck, whether or not a character is represented in a byte has little importance. Also, I can’t see how the @Maniero response from there can solve the problem from here, it just explains a little more about encoding problems that exist here.
– Victor Stafusa