题目内容

有两个字符数组m、n,则如下正确的输入语句是( )。

A. gets(m,n)
B. scanf(“%s%s”,m,n);
C. scanf(“%s%s”,&m,&n);
D. gets(“m”),gets(“n”);

查看答案
更多问题

下面程序段的运行结果是( )。char str[5]={‘a’,’b’,’\0’,’c’,’\0’};printf(“%s”,str);

A. ’a’’b’
B. ab
C. ab c
D. abc

在C语言中用于获取字符串长度的函数是____。

在C语言中,比较两个字符串内容是否相等的函数是____。

选词填空How you could you survive without the internet? Ryan Holmes tried it for a fortnight and came up with some interesting conclusions. (1) by Paul Miller’s personal experiment of going one year with (2) no internet, the writer went on his own short digital (3) . He did it because having been (4) in 24-7 for a decade, he wanted to see what would happen if he went (5) for a while. So during his winter vacation to Mexico, he didn’t go (6) except to check his email. As a result, he discovered that technology is no evil and technology is already a part of him now. (7) , he also came to the conclusion that it is the (8) of thoughtful articles and good books, not (9) online content, that (10) the mind.A)reading B)offline C)absolutely D)Nevertheless E)blurred F)rewarding G)online H)plugged I)despite J)nourishes K)snacky L)thoughtful M)Inspired N)periodically O)detox

答案查题题库