> strcpy(buffer, option[option - 1]); Shouldn't that be option_str[option - 1]? But it won't work either. In the function parameter, the compiler obviously needs to know the size of each item, but not necessarily the number of items, so it can advance from one to the next. -- Sebastian Reichelt