For some reason, the program is not saving the character in the vector, as it should be stored, it is jumping the first character. For example:
// Declarando o vetor
char novosValores[4] = {0};
scanf("%c %c %c %c", &novosValores[0], &novosValores[1], &novosValores[2], &novosValores[3]);