【简答题】【消耗次数:1】
从fp指向的文件读入一个长度为n-1的字符串,存放到字符数组str中,调用形式为[填空1]。
参考答案:
复制
纠错
相关题目
【简答题】 从fp指向的文件读入一个字符,调用形式为[填空1]。
【简答题】 把str所指向的字符串写到文件指针变量fp所指向的文件中,调用形式为[填空1]。
【简答题】 把字符ch写到文件指针变量fp所指向的文件中,调用形式为[填空1]。
【单选题】 对于一个长度为n的字符串,需要占用( )个字节。
①  n
②  n-1
③  n+1
④  n+2
【单选题】 对于一个长度为n的字符串,需要占用( )个字节。
①  n
②  n-1
③  n+1
④  n+2
【单选题】 字符串\a\xy=4\n的长度为( )。
①  8
②  9
③  10
④  11
【单选题】 字符串\a\xy=4\n的长度为( )。
①  8
②  9
③  10
④  11
【单选题】 一个长度为n的字符串,需要至少占用多少字节的存储空间?
①  n-1
②  n
③  n+1
④  2n
【单选题】 字符串a+b=12\n的长度为?
①  6
②  7
③  8
④  9
【单选题】 字符串”a+b=12\n”的长度为()
①  6
②  7
③  8
④  9
随机题目
【单选题】 The apple_____ very sweet.
①  is tasted
②  taste
③  tastes
④  are tasting
【单选题】 The poet has____ fame all his life, but has never experienced it.
①  pursued
②  followed
③  chased
④  traced
【单选题】 Although ____ Spanish, he attended the course.
①  he was knowing
②  he is knowing
③  having a knowledge of
④  knows
【单选题】 The board deemed it’s urgent that these files ____ right away.
①  had to be printed
②  should have been printed
③  must be printed
④  should be printed
【单选题】 Our civilization cannot be thought of as ____ in a short period of time.
①  to have been created
②  to be created
③  having been created
④  being created
【单选题】 Here is some ____ advice to any young businessman.
①  variable
②  worthwhile
③  worthy
④  value
【单选题】 You must have stayed up late last night, _____?
①  mustn’ t you
②  don’ t you
③  didn’ t you
④  needn’ t you
【单选题】 Mr. Milton prefers to resign ____ part in such dishonest business deals.
①  than take
②  than to take
③  rather than take
④  rather than to take
【单选题】 We went on a(n) ____ to the mountain yesterday.
①  excursion
②  trip
③  tour
④  travel
【单选题】 If your new coat is too large, a tailor can____ it to fit you.
①  alter
②  transform
③  vary
④  change