hey im trying to iterate throughout the entire array of adresses to strings here is what i got so far :
int main()
{
char arr1[]="hello";
char arr2[]="ok";
char arr3[]="goodbye";
char arr4[] ="memo";
char *sumOfAdresses[]={arr1,arr2,arr3,arr4};
for(char**r=sumOfAdresses;*r!='\0';r++){
printf("fadixa");
printf("\n");
}
}
in this case im trying to print 4 times "fadixa" but this method doesnt seem to work, i cant put the size of the array as part of the assignment, this is only half part of my homework and its only a test in main(this should be a method that accepts only **char and no size)