Problem-
Create a linked list with 5 nodes -
Size of nodes 10K,20K,30,40,50K
Assume node1 and node3 load with program 1 and 2 store the new program in the following size 60K.
Using Best fit and first fit method.

My doubts-
1-How do u make a program access data in another program.( I know global vars come in somewhere but don't know how to link the programs )

Any sort of help will be appreciated!
cheers!

PS-i am using a unix system and a gcc compiler.
A program is a separately executable piece of code