Consider the following statements:
Which of the above statements is/are true?
S1)correct because statically linking done in compile time
S2) correct, because dynamically linking done at run time.It linked the file by pointer to heap memory and we can access heap memory at runtime only. It's only include when you later run the executable that these dynamically linked files are bought in and they're only bought into the in-memory copy of the executable, not the one on disk.
Statically-linked files are 'locked' to the executable at link time so they never change. A dynamically linked file referenced by an executable can change just by replacing the file on the disk.
@srestha, plz explain why "Dynamic linking needs no linker"?