c语言中%s是什么?

如题所述

第1个回答  2010-04-03
请参考:
-bash-3.00$./a.out
this a string to ary
-bash-3.00$cat ans.c
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

int
main()
{
char *ary;
ary="this a string to ary";
printf("%s\n",ary);
exit(0);
}
-bash-3.00$
第2个回答  2010-04-03
输出字符串本回答被提问者采纳

相关了解……

你可能感兴趣的内容

本站内容来自于网友发表,不代表本站立场,仅表示其个人看法,不对其真实性、正确性、有效性作任何的担保
相关事宜请发邮件给我们
© 非常风气网