#include <stdio.h>
int main(void) {
char *minhastring = "HTJxxxxxxxxxxxxxxxxxxxx";
char tres_primeiros[4];
memcpy( tres_primeiros
, &minhastring
[0], 3); tres_primeiros[3] = '\0';
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CgljaGFyICptaW5oYXN0cmluZyA9ICJIVEp4eHh4eHh4eHh4eHh4eHh4eHh4eCI7CgljaGFyIHRyZXNfcHJpbWVpcm9zWzRdOwoJbWVtY3B5KCB0cmVzX3ByaW1laXJvcywgJm1pbmhhc3RyaW5nWzBdLCAzKTsKCXRyZXNfcHJpbWVpcm9zWzNdID0gJ1wwJzsKCXByaW50ZigiJXMiLCB0cmVzX3ByaW1laXJvcyk7CgkKCXJldHVybiAwOwp9Cg==