enum nameindex{first=0,second};char* str[]={"test1,test2"};void PRINT(){ enum nameindex index = first; printf("%s\n",str[(int)index]);//强制转化为整形}