//判断t所指字符串中的字母是否由连续递增字母组成。
1 #include <stdio.h> 2 #include <string.h> 3 void NONO(); 4 int fun( char *t ) 5 { 6 int a = 0; 7 //使用数组解决 8 /*for (int i = 1; t[i]!= ' '; i++) 9 { 10 if ((t[i]-'0') != (t[i - 1] -'0'+1)) a = 1; 11 }*/ 12 //使用指针解决 13 while (*(t+1) != '