Hi everbody,My below program is running successfully ,but at end it is displaying Null Pointer Assignment as output. Why ???
#include #include int main(){
float far **ptr; /* For 2-D array dynamic allocation*/
register int i,j;
ptr=(float far**)calloc(256,sizeof(ptr));
if(ptr==NULL) {
printf("\n No Memory! ");
return 0; }
for(i=0;i