Imprimir una parte de la cadena C
int length = 5;
printf("%*.*s", length, length, "hello there");
Helpful Hummingbird
int length = 5;
printf("%*.*s", length, length, "hello there");