Why below line of code is not compiling successfully? const unsigned char *a[]={ "Hello", "Hi" }; const unsigned char *b[]={ a[0], a[1] };
How about something like
const unsigned char str_hello[] = "Hello"; const unsigned char str_hi[] = "Hi"; const unsigned char *a[]={ str_hello, str_hi" }; const unsigned char *b[]={ str_hello, str_hi" };
And, as *** said, consider putting them into CODE space...