get first character of string c code example
Example 1: remove first character from string c
if (contents[0] == '\n')
memmove(contents, contents+1, strlen(contents));
Example 2: c check first character of string
#include <stdio.h>
int main(void){
char b[5];
scanf("%s",&c);
printf("Simple answer %c",b[0:4])
}