#include <stdio.h>
int main()
{
int quantidade = 12;
char id[3] = "p";
char novoId[10];
snprintf (novoId
, 10, "%s%d", id
, quantidade
); return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpCnsKCWludCBxdWFudGlkYWRlID0gMTI7CgljaGFyIGlkWzNdID0gInAiOwoJY2hhciBub3ZvSWRbMTBdOwoJCiAgICBzbnByaW50ZiAobm92b0lkLCAxMCwgIiVzJWQiLCBpZCwgcXVhbnRpZGFkZSApOwogICAgcHJpbnRmKCIlcyIsIG5vdm9JZCk7CiAgICByZXR1cm4gMDsKfQ==