array pointer
ratheesh k <[email protected]> Tue, 18 Jan 2011 18:52:51 +0530
| Newsgroups | org.kernel.vger.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 ?