Hi ,how can I do that
when I do that is giving me -warning assignment from incompatible pointer type in cCode:double *px;
px=a;
a is two dimetional array of doubles
Printable View
Hi ,how can I do that
when I do that is giving me -warning assignment from incompatible pointer type in cCode:double *px;
px=a;
a is two dimetional array of doubles
Note that this is different from sayCode:double a[10][20];
double (*pa)[20] = a; // a pointer to an array of 20 doubles
Code:double **pa; // pointer to pointer to double
double *pa[20]; // an array of 20 pointers to double