What are the differences between a compiler and a linker?
问题 What is the difference between a compiler and a linker in C? 回答1: The compiler converts code written in a human-readable programming language into a machine code representation which is understood by your processor. This step creates object files. Once this step is done by the compiler, another step is needed to create a working executable that can be invoked and run, that is, associate the function calls (for example) that your compiled code needs to invoke in order to work. For example,