首页题目详情
以下哪项是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为定位方式。
C语言程序设计单选题中等AI生成