dkiselev
0
Q:

how to remove \n from a string c

str[strcspn(str, "\n")] = 0;
0

New to Communities?

Join the community