I have following struct defined which I can not change:
typedef struct _content {
int length;
char **lines;
} content_t;
I initialized it in the main function like that:
struct _content cont;
cont.length = 6;
cont.lines[cont.length-1][255];
I try to assign a value to a certain element of the multidimensional array and also to print the value out- which doesn't work:
cont.lines[1][1] = "A";
printf("\n\n%c", cont.lines[1][1]);
What am I doing wrong here? Many Thanks