Please Help me This Question
On computers using the Intel 80n86 series of processors there are two different ways of storing an address. These may be called near and far . A near address requires 16 bits of storage whereas a far address requires 32 bits of storage. An actual far address is constructed from the sum of a 16 bit segment number and a 16 bit offset with a 4 bit overlap so it is effectively 28 bits long. Near addresses use less memory and can be manipulated more quickly and more simply. The use of near addresses implies a severe limitation on the amount of data a program can handle and on the amount of code that can make up the program.
C compilers intended for use in such environments often have options to generate either type of address. The selection of such options is usually controlled from the compiler command line. The choices are usually called memory models.
The Microsoft C version 5.1 compiler typically offers a choice of 5 memory models known as small, medium, compact, large and huge.
Compare and contrast various memory models with reference to pointer allocation and deallocation especially when multidimensional arrays are to be declared using pointers.
List data structure can be implemented using arrays and linked structures. Each technique has its own advantages and disadvantages