GCC 12 will issue a warning:
stinky.cpp:9:10: warning: ‘size_t strlcpy(char*, const char*, size_t)’ writing 12 bytes into a region of size 3 overflows the destination [-Wstringop-verflow=]
9 | strlcpy(n,t, sizeof (t));
| ~~~~~~~^~~~~~~~~~~~~~~~~
stinky.cpp:5:6: note: destination object ‘n’ of size 3
5 | char n[3]={0};
| ^