📅  最后修改于: 2022-03-11 14:48:30.998000             🧑  作者: Mango
代码示例2
#include
#define MAX 15
int main()
{
char buf[MAX];
printf("Enter a string: ");
gets(buf);
printf("string is: %s\n", buf);
return 0;
}