Friday, 7 December 2012

Dynamic memory Allocation in 2-D Array


Today I wrote a program for dynamic memory allocation in 2-D array using malloc .We use  the 2-D  array as a 1-D .First of all we take a double pointer which stores the adress of a 1-D array.In this 1-D array we store the adresses of first location of each row.