填空题

在对文件进行操作的过程中,若要求文件的位置指针重新指向文件的开头,应当调用的函数是 【16】 函数。

【参考答案】

rewind或fseek
<上一题 目录 下一题>
热门 试题

填空题
以下函数inverse的功能是使一个字符串按逆序存放,请填空。inverse(char str[]){ char m;int i,j;for(i=0,j=strlen(str);i<strlen(str) 2; 【18】 ,j--){ m=str[i];str[i]= 【19】 ;【20】 ;}}
填空题
下列程序的字符串中各单词之间有一个空格,则程序的输出结果是 【17】 。#include <stdio.h>#include <string.h>main(){ char str1[]= How do you do , *p1=str1;strcpy(str1+strlen(str1) 2, es she );printf( %s n ,p1);}
相关试题
  • 请读程序: #include <stdio.h> #d...
  • 数据结构作为计算机的一门学科,主要研究数...
  • 以下选项中属于C语言数据类型的是( )。
  • 以下程序的输出结果是( )。 #include...
  • 执行下面程序段的结果是( )。 int x=...