What exactly is the FILE keyword in C?

后端 未结 4 885
无人共我
无人共我 2020-11-30 02:54

I\'ve started learning some C as a hobby and have blindly used FILE as a declaration for file pointers for quite some time, and I\'ve been wondering. Is this a keyword or sp

4条回答
  •  隐瞒了意图╮
    2020-11-30 03:08

    It's not a keyword, it's a data type defined in the ANSI C standard to operate with files. It usually points to an internal structure that describes the file and its current state to the library functions.

提交回复
热议问题