首页题目详情

以下哪项是fseek()的正确原型?

题目配图
A.int fseek(FILE *stream, long int offset, int whence);
B.long int fseek(FILE *stream, long int offset, int whence);
C.int fseek(FILE *stream, int offset, int whence);
D.int fseek(FILE *stream, long int offset, int from);

优质解答

答案

A

解析

fseek()的正确原型是int fseek(FILE *stream, long int offset, int whence);,其中whence为定位方式。

查看答案和解析

支付 ¥0.1 即可查看此题答案和详细解析

低至 ¥0.1 起

C语言程序设计单选题中等AI生成