External linkage in C

前端 未结 2 1266
感动是毒
感动是毒 2021-01-13 10:31

K&R says:

by default external variables and functions have the property that all references to them by the same name, even from functions compiled

2条回答
  •  野的像风
    2021-01-13 11:21

    external variables and functions are global, i.e. hold the same values (for variables) or definitions (for functions) even when called from different *.c files within your program.

提交回复
热议问题