Hi all,I am having some doubts in C. 1>> My program needs to allocate memory of 256*256 array of integers ie array[256][256]. But it cannot be allocated statically.So pls suggest me how to allocate memory of 256*256 integers dynamically.My code below given is unable to allocate memory and is returning NULL to the array.
int far** array;array=(int far**) calloc(256,256*sizeof(int));
Is there any error in my code? If no, then why calloc() is returning NULL to the array.Expecting the answers Yours Raju