#include <stdio.h>
#include <string.h>
int main(void) {
char nomeString[] = "nomedoarquivo.txt";
nomeString
[strlen(nomeString
) - 4] = '\0';}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdHJpbmcuaD4KCmludCBtYWluKHZvaWQpIHsKCWNoYXIgbm9tZVN0cmluZ1tdID0gIm5vbWVkb2FycXVpdm8udHh0IjsKCW5vbWVTdHJpbmdbc3RybGVuKG5vbWVTdHJpbmcpIC0gNF0gPSAnXDAnOwoJcHJpbnRmKCIlcyIsIG5vbWVTdHJpbmcpOwp9Cg==