please help to fixed this program. I'm try to print array of pointer using pointer instead of array but i got this error:
pointer_multi_char4.c: In function ‘main’:
pointer_multi_char4.c:7:11: error: expected expression before ‘{’ token
this is the code:
#include <stdio.h>
int main (void){
char **message;
message= { "Four", "score", "and", "seven",
"years", "ago,", "our", "forefathers" };
printf("%s\n",message);
return 0;
}
how can i fixed this code? please somebody explain me what's wrong with that code
char**!=char*[].