cara menghapus n dari string c
str[strcspn(str, "\n")] = 0;
TheGreenOak
str[strcspn(str, "\n")] = 0;
strtok(in, "\n");