I have a 2D array like this and I want a pointer to it.
Currently I have this:
char* recv_args_msg_queue[20];
char** ref_temp = &recv_args_msg_queue[0];
char*** ref_queue = &ref_temp;
But I feel my way is really dumb. Is there a way to do it on one line?
Note:
char* recv_args_msg_queue[20];
is later in my code allocated properly to be an array. I just wanted dynamic allocation otherwise I could have wrote:
char recv_args_msg_queue[20][another_number_here];