int _tmain(int argc, _TCHAR* argv[])
{
char temptt[3] = "";
char str[] = {"abcde"};
return 0;
{
char temptt[3] = "";
sprintf_s(temptt,"%d",22);
char temptt[2] = "";
sprintf_s(temptt,"%d",2);
char str[] = {"abcde"};
return 0;
}
//数组最后一位为空,必须存在的