linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Function pointers
@ 2010-01-21  6:33 kumar11
  2010-01-21  6:57 ` saravanaraj v
  2010-01-21  9:56 ` Glynn Clements
  0 siblings, 2 replies; 5+ messages in thread
From: kumar11 @ 2010-01-21  6:33 UTC (permalink / raw)
  To: linux-c-programming


Could you please explain the meaning of below declaration statement.

char (*pa())[4]; 


Please find the entire code below.

char (*pa())[4]; 
void main(){ 
char(*p)[4]=pa(); 
printf("%d",**p); 
} 
char (*pa())[4]{ 
static char arr[]={'\11','\12','\13','\14'}; 
return &arr; 
}
-- 
View this message in context: http://old.nabble.com/Function-pointers-tp27253432p27253432.html
Sent from the linux-c-programming mailing list archive at Nabble.com.


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

end of thread, other threads:[~2010-01-24  7:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-21  6:33 Function pointers kumar11
2010-01-21  6:57 ` saravanaraj v
2010-01-21  9:56 ` Glynn Clements
2010-01-23 22:27   ` Milind A Choudhary
     [not found]     ` <201001241003091879376@gmail.com>
2010-01-24  7:59       ` Re: " 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).