c语言中%s是什么?

2025-01-02 12:20:45
推荐回答(2个)
回答1:

请参考:
-bash-3.00$./a.out
this a string to ary
-bash-3.00$cat ans.c
#include
#include
#include

int
main()
{
char *ary;
ary="this a string to ary";
printf("%s\n",ary);
exit(0);
}
-bash-3.00$

回答2:

输出字符串