remove first character c code example
Example: remove first character from string c
if (contents[0] == '\n')
memmove(contents, contents+1, strlen(contents));
if (contents[0] == '\n')
memmove(contents, contents+1, strlen(contents));