(1)输出时格式控制符用错了,%s:用于字符串输出;%c:用于字符输出,将printf("%s",s[2])换成printf("%c",s[2])就行了(2)&是取地址符,在输出时要输出该字符而不是字符存储的地址,所以不用加&。
printf("%c",s[2])
把&拿掉,输出时不需要加&