Function pointers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Assembler]     [Git]     [Kernel List]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [C Programming]     [Yosemite Campsites]     [Yosemite News]     [GCC Help]

  Powered by Linux