array pointer

ratheesh k <[email protected]> Tue, 18 Jan 2011 18:52:51 +0530
Newsgroups gmane.linux.c-programming
Message-ID <[email protected]>
int  *s_ptr;
int  *d_ptr;
int arr[2][2]={1,2,3,4};

s_ptr=*arr;  /* This is perfectly fine */
d_ptr=arr /* this line throws a  warning: assignment from incompatible
pointer type */

What is the problem here ?
--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html