#include<stdio.h> #include<stdlib.h> #include <string.h> int c[20]; char b[20]; void main() { gets(b); for(int i=0;i<(int)strlen(b);i++) { c[1]=atoi(&b[1]); } printf("%c\n",b[1]); printf("%d\n",c[1]); } 我运行程序输入1234,结果输出 2 234。我想让它输出2 2。要怎样修改程序呢??希望哪路英雄不吝赐教哈!!!