Posted On: Feb 22, 2018
Array memory allocation is always static and continuous while the memory allocation of a list is dynamic and quite random.
In case of arrays, users need not keep a track of next memory allocation, whereas in case of lists, a user has to keep a track of next location where memory is allocated due to its dynamism.
Never Miss an Articles from us.
The statement #include is used in C++ to include the source file or import the header files containing definitions of f..