编辑代码

#include <stdio.h>
#include <string.h>
#include <stdlib.h>

int main () {
    //JSRUN引擎2.0,支持多达30种语言在线运行,全仿真在线交互输入输出。 
	char a[] = "TABPANEL_";
    char b[] = "_NUMERIC_V";
    char c[30];

   for(int j = 0; j < 10; j++)
    {
        sprintf(c,"%s%d",a,j+1);  //输出的字符串,格式描述,串联的字符串1,串联的字符串2
        strcat(c,b);
        sprintf(c,"%s%d",c,j+1);
        printf("%s\n",c);
    }   

    	
    return 0;
}