In the following code.
when i use the name <File as a double pointer> which is actually an array, I am able to extract the contents of the array . However when i create a double pointer Array & assign it to the File, Using Arraypp I am not able to extract the contents of the variable, Why is it so?
Any help is appreciated.
Code:
const char File[][15] = {
"New",
"Open",
"Close",
"save"
};
void Demo_Pointers_to_Multi_Array(void){
// This is still incomplete have to understand...
const char **Arraypp= (const char **)&File[0][0];
printf ("\n %u",Arraypp);
printf("\n %u",File);
printf("\n %c ",*(*(File+ 0) +0));
printf("\n %c ",*(*(Arraypp + 0) +0));
while(1);
}