C では、数値の配列を静的に事前に割り当てる必要があり、それぞれが異なる文字列の配列に関連付けられています。次のようなコードはトリックを行います:
struct number_and_strings {
  int  nnn;
  char **sss;
}
static struct number_and_strings my_list[] = {
  {12, {"apple","banana","peach","apricot","orange",NULL}},
  {34, {"tomato","cucumber",NULL}},
  {5,  {"bread","butter","cheese",NULL}},
  {79, {"water",NULL}}
}