remove first character from string c

#include <stdio.h>
#include <string.h>

int main() {
    char c[] = "example";
    memmove(c, c + 1, strlen(c));
    printf("%s", c);
    return 0;
}