int main() { char s[30] = { 0 }; scanf_s("%s", s); ****//缺少“scanf_s”的整型参数(对应于转换说明符“2”)**** printf("%s", s); }
scanf_s("%s",s,30);