what is the difference between linking and loading in c language

后端 未结 7 1667
庸人自扰
庸人自扰 2021-02-04 06:15

Does linking and loading of the the dynamic libraries both happen at runtime? or is it that only loading of the library happens at run time?

7条回答
  •  南方客
    南方客 (楼主)
    2021-02-04 07:03

    Linking is the process of taking some smaller executables and joining them together as a single larger executable.

    Loading is loading the executable into memory prior to execution.

提交回复
热议问题