#include<stdio.h> # define MAXROW 3 #define MAXCOL 4
int main() { int (*p)[MAXCOL]; p=(int(*)[MAXCOL])malloc(MAXROW*sizeof(*p)); printf("%d %d",sizeof(p),sizeof(*p)); system("pause"); return 0; } THE O/P IS 4 16. I am not getting the reason.plss help -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.