Hello Friends,
What is linking in C language?
Printable View
Hello Friends,
What is linking in C language?
This thread doesn't make any sense!
Post threads that are related to SEO in the SEO category.
Hi Friends,
Linking. Linking as the name suggests, refers to creation of a single executable file from multiple object files. The file created after linking is ready to be loaded into memory and executed by the system . There is difference in linking and compilation when it comes to understanding errors.
After the compiler has created all the object files, another program is called to bundle them into an executable program file. That program is called a linker and the process of bundling them into the executable is called linking. The linker looks at all the object files you have told it to use.
C Compiler compiles the source code into object code. The process of linking object file and library files i.e. header file is known as linking. Linker is responsible of linking library file to object file. After Linking, file is loaded in RAM and the loader is responsible for loading exe file in memory.
I think Admin should close the thread because it is not related to category!!
Linking is the process of collecting and combining various pieces of code and data into a single file that can be loaded (copied) into memory and executed.
C Compiler compiles the source code into object code. The process of linking object file and library files i.e. header file is known as linking. Linker is responsible of linking library file to object file. After Linking, file is loaded in RAM and the loader is responsible for loading exe file in memory.
Linking − The linker is produces the final compilation output from the object files the compiler produced. This output can be a shared (or dynamic) library or an executable. It links the object files by replacing the undefined references with the correct addresses.