int (*daytab)[13]
on similar lines i initialize a pointer to array[2]of int in my program as follows
int c[2]; int (*d)[2]; d=c;when compiling this code i get a warning as follows
sizeof.c: In function ‘main’: sizeof.c:7: warning: assignment from incompatible pointer type
what is generating this warning and how to get rid of it? also are there any good resources for understanding complicated declarations in c?


Sign In
Create Account


Back to top









