Utilizar string_list con variables

Hola a todos, estoy atascado con lo siguiente:

char str_data_a[] = {"Amarillo"};
char str_data_b[] = {"Rojo"};
char str_data_c[] = {"Verde"};

const char *string_list =
  "str_data_a\n"
  "str_data_b\n"
  "str_data_c";

de los cuales quiero que str_data_a, str_data_b y c tome el valor de una variable char, alguien sabe como hacerlo?

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.