Is this what linker does?

I think I finally got what a linker is. But I just want to make sure I got it right

The only job that linker does is: it takes included library in code and include it in the exe file.

For example:
 
# include <iostream> 

In this case the linker will take iostream and include it in the exe file.


Did I get it right?
Oh am confused again.

Will A linker take a compiled file (object code) and a library (iostream) and join them together to make exe file?

Which one is right?
Topic archived. No new replies allowed.