#include <iostream>
using namespace std;
char sss[20] = {0};
int a[10] = {10,20};
char *GetCharArr()
{
sprintf_s(sss, "ABABXX%d", a[0]);
cout << sss << endl;
return sss;
}
int main()
char *xxx;
xxx = GetCharArr();
printf("目前的字元串是:%s", xxx);
system("PAUSE");
return 0;