What does the include in the middle of code in C?

后端 未结 3 487
抹茶落季
抹茶落季 2021-01-14 05:13

Please, could you tell me what does the code below do?

...code...
#include file.h
...code...

I was used to put includes a the beggining of

3条回答
  •  天涯浪人
    2021-01-14 05:19

    It's usage is not limited to the starting of the file, but note that the variables, macros or functions declared in this header will not be usable before the include statement even if on the same file.

提交回复
热议问题