定义数组,gets,puts的使用

#include<cstdio>
using namespace std;
char s[99];//定义一个长度为99的字符数组s
int main()
{
    
    
gets(s);
puts(s);
return 0;
}

猜你喜欢

转载自blog.csdn.net/qq_51082388/article/details/112007641