Given a number and some sort of string.
It is necessary to do the following: (easier by example). For example, the number 5 and the string "abc" .
It is necessary to display the following set of lines:
"abc-1", "abc-2", "abc-3", "abc-4", "abc-5".
These strings should be stored somewhere (in an array of strings).
Understandably, this is not a difficult task, but how can this be done more simply and optimally in C?