
char Buffer[5]; strcpy(Buffer, "More than 5 chars is a buffer overflow");
const char* myFunc( int myNum ){
static char num2Str[5];
sprintf( num2Str, "%i", myNum );
return num2Str;
}
num2Str anotherVariable xxxxx xxxxxxxxxxxxx
num2Str anotherVariable 99999 0xxxxxxxxxxx