similar to 1D array declaration :
char arr[]={[0 ... RESERVED_CHARS-1]=' ',[RESERVED_CHARS]='\0'};
please advice how / if possible to declare such 2D array ?
#define SAY_MAX_MSG_LEN 6
#define REP_MAX_MSG_LEN 8
char *var_msg_out[][3]={\
{" Say ",[][0 ... SAY_MAX_MSG_LEN+1]=' ','\0'},\
{" Reply ",[][0 ... REP_MAX_MGS_LEN+1]=' ','\0'}\
};
snprintf(var_msg_out[0][1],SAY_MAX_MSG_LEN,"hello");
printf("%s",var_msg_out[0]);
Thanks !