how to remove first character of a string in 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));