题目内容 (请给出正确答案)
[主观题]

char*str=mystory;printf(%s,str+3);上面程序段的输出是__

查看答案
如搜索结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能会需要:
您的账号:
发送账号密码至手机
发送
更多“char*str=mystory;printf(%s,str…”相关的问题

第1题

听力原文:M: Hello.

W: Hello, John. This is Florence Richardson. I'm sorry to phone you at this hour, but I'm experiencing a sticky issue and I can't think of anyone to get advice from besides you.

M: What's up?

W: Well, I moved to my present apartment a couple of months ago and now I'm thinking to defer my studies and planning to return to my parents' place next month. Today, I gave notice to my landlord but he said he's unable to give my deposit back since I have to stay a minimum of six months.

M: Are you giving him a-month-in-advance notice to move?

W: Yes, that's exactly what I did today. In the tenancy agreement that's the timeframe. requested to notify the landlord.

M: Yes, that's the usual practice. Well, in the tenancy agreement, did it state that there's a minimum of six months stay or the deposit would be forfeited?

W: Not that I could remember. Besides, I have never heard of such a clause in the contract.

M: Well, I have never heard of it either. It could be the landlord is trying to intimidate you. Perhaps you should pull your contract out and have a word with him.

W: Yes, that's exactly what I'm thinking of. But he said he spent time and money on advertisement to get a tenant and it wouldn't be fair on him if I just stayed for two months.

M: Well, that's not the Point, Florence. It doesn't matter how much he spent on advertisement, but the fact is he shouldn't force a tenant to stay if he or she doesn't want to. Besides, if the contract does not state the timeframe, then he shouldn't impose it himself.

W: You are right, John. You just confirmed my reasoning.

M: Look, Florence, I'll go with you to see the landlord tomorrow and if he still insists on not giving your deposit back, we'll go to the small claims court to get your money back.

W: Thanks, John. I really appreciate that.

(20)

A.She can't find a new place to live.

B.The landlord wants her to move out after only g months.

C.She thinks she will lose her deposit money.

D.The contract states she must stay for 6 months so she can't move.

点击查看答案

第2题

设有下列的程序段: char str[]="Hello"; char*ptr; ptr=str; 执行上面的程序段后,*(ptr+5)的值为______。

点击查看答案

第3题

以下程序段的输出结果是( )。 char str[ ]="ab\n\012\\\""; printf("%d",strlen(str));

A、3

B、4

C、6

D、12

点击查看答案

第4题

在C语言中,有:char str[]="abcd"; printf(%d\n",strlen(str)); 上面程序片段的输出结果是( )

A、3

B、4

C、6

D、12

点击查看答案

第5题

设有如下的程序段:char str[ ]="This a book";char *ptr;ptr=str;执行上面的程序段后,*(ptr+2)的值为()。

A、's'

B、'i'

C、'h'的地址

D、'h'

点击查看答案

第6题

以下程序的输出结果是()。 char str[15]=”hello!”; printf(“%d\n”,strlen(str));

A.15

B.14

C.7

D.6

点击查看答案

第7题

设有定义charstr[]=Hello;则语句printf(%d%d,sizeof(str),strlen(str));的输出结果是

A.66

B.65

C.55

D.56

点击查看答案

第8题

下列程序段的运行结果是______。 char str口="ABCD",*p=str; printf("%d\n",*(p+3));

点击查看答案

第9题

运行下面代码段时输入字符串: How are you? ,则输出结果是( )。 char str[20]; gets(str); printf("%s",str);

A、How are you?

B、How

C、How are you

D、How are you!

点击查看答案

第10题

执行以下程序: main() {char str[13]; scanf(“%s”,str); printf(“%s\n”,str);} 若输入: abcd1234 efgh,则输出结果是( )

A、abcd

B、abcd1234 efgh

C、abcd1234

D、abcd1234efgh

点击查看答案
热门考试 全部 >
相关试卷 全部 >
账号:
你好,尊敬的上学吧用户
发送账号至手机
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改
谢谢您的反馈

您认为本题答案有误,我们将认真、仔细核查,
如果您知道正确答案,欢迎您来纠错

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

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

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