linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* array pointer
@ 2011-01-18 13:22 ratheesh k
  2011-01-18 13:23 ` ratheesh k
  0 siblings, 1 reply; 6+ messages in thread
From: ratheesh k @ 2011-01-18 13:22 UTC (permalink / raw)
  To: linux-c-programming

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 ?

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-01-18 19:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-18 13:22 array pointer ratheesh k
2011-01-18 13:23 ` ratheesh k
2011-01-18 13:32   ` ratheesh k
2011-01-18 14:46     ` Michal Nazarewicz
2011-01-18 16:59       ` David McMurray
2011-01-18 19:33     ` Glynn Clements

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).