题目内容 (请给出正确答案)
[单选题]

在字符串格式化中,格式字符串中不可以使用()代表要输出的数据:

A.%s

B.%n

C.%f

D.%d

提问人:网友panyikun 发布时间:2022-01-07
参考答案
查看官方参考答案
如搜索结果不匹配,请 联系老师 获取答案
网友答案
查看全部
  • · 有4位网友选择 D,占比50%
  • · 有2位网友选择 B,占比25%
  • · 有1位网友选择 C,占比12.5%
  • · 有1位网友选择 A,占比12.5%
匿名网友 选择了A
[124.***.***.204] 1天前
匿名网友 选择了D
[181.***.***.113] 1天前
匿名网友 选择了D
[5.***.***.110] 1天前
匿名网友 选择了B
[170.***.***.180] 1天前
匿名网友 选择了B
[192.***.***.49] 1天前
匿名网友 选择了C
[11.***.***.148] 1天前
匿名网友 选择了D
[66.***.***.136] 1天前
匿名网友 选择了D
[114.***.***.3] 1天前
加载更多
提交我的答案
登录提交答案,可赢取奖励机会。
更多“在字符串格式化中,格式字符串中不可以使用()代表要输出的数据…”相关的问题
第1题
在字符串格式化中,格式字符串中不可以使用()代表要输出的数据:
A.%s

B.%n

C.%f

D.%d

点击查看答案
第2题
在字符串格式化中,格式字符串中可以使用()代表要输出的字符串数据。

A、%s

B、%n

C、%f

D、%d

点击查看答案
第3题
试题3

本程序中,函数fun的功能是判断字符串是否是回文,若是回文,则返回1,主函数中输出YES;否则,函数返回0,主函数中输出NO。回文是指顺读和倒读都一样的字符串。例如,字符串LEVEL是回文,而123312就不是回文。请在函数fun的花括号中填入你编写的若干语句。(注意:不改动程序的结构,不得增行或删行。)

#include

#define N 80

int fun (char *str)

{

}

main()

{ char s[N];

printf(“Enter a string : ”) ;

gets (s) ;

printf(“\n\n”) ;

puts (s) ;

if (fun (s))

printf (“YES\n”) ;

else

printf (“N0\n”) ;

nono ();

}

nono ()

{/*请在此函数内打开文件,输入测试数据,调用fun函数,输出数据,关闭文件.*/

int i;

FILE *rf, *wf ;

char s[N] ;

rf = fopen (“bc.in”,“r”) ;

wf = fopen (“bc.out”,“w”) ;

for (i=0; i<10; i++ )

{ fscanf (rf, “%s”,s ) ;

if (fun (s ))

fprintf (wf, “%s YES\n”, s ) ;

Else

fprintf(wf, “%s NO\n”, s ) ;

}

fclose (rf) ;

fclose (wf) ;

}

点击查看答案
第4题
在随机文件中使用用户自定义数据类型时,要注意它的成员的要求,它的成员不能是()。A.定长字符串和
在随机文件中使用用户自定义数据类型时,要注意它的成员的要求,它的成员不能是( )。

A.定长字符串和数组

B.变长字符串和动态数组

C.货币型和日期型

D.变长字符串和货币型

点击查看答案
第5题
最后一个单词
点击查看答案
第6题
下列数据中,不属于字符串的是()
A、'ab'

B、'''perface'''

C、"52wo"

D、abc

点击查看答案
第7题
The Renaissance was an influential cultural movement which brought about a period of scientific revolution and artistic transformation at the dawn of modern European history. It began in Italy and later spread to the rest of Europe, immediately following the Middle Ages and spanning roughly from the 14th to the 17th century. The Renaissance was characterized by a revival of interest in classical learning, wisdom and values from the Ancient Greek and Roman eras. Renaissance scholars employed the humanist method in study and searched for realism and human emotion in art. Scientists no longer accepted the teachings of the Church at face value. Instead, they studied the natural world through their own observation and experimentation. Likewise, artists developed new techniques and achieved more advanced effects by applying mathematics and optics ()

点击查看答案
第8题
Renaissance began from a _________() in 14th century.
点击查看答案
第9题
The key-note of Renaissance is_________.
点击查看答案
第10题
The key note of the Renaissance is __________, which emphasized human capacities and held the view that man is the center of the world.
点击查看答案
账号:
你好,尊敬的用户
复制账号
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改
欢迎分享答案

为鼓励登录用户提交答案,简答题每个月将会抽取一批参与作答的用户给予奖励,具体奖励活动请关注官方微信公众号:简答题

简答题官方微信公众号

警告:系统检测到您的账号存在安全风险

为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!

微信搜一搜
简答题
点击打开微信
警告:系统检测到您的账号存在安全风险
抱歉,您的账号因涉嫌违反简答题购买须知被冻结。您可在“简答题”微信公众号中的“官网服务”-“账号解封申请”申请解封,或联系客服
微信搜一搜
简答题
点击打开微信