If we have a string of 7 characters and we can put from 'a' to 'z' in any of these places, write a program which its output is from 'aaaaaaa' to 'zzzzzzz'.
Anoniem
Using recursion. Maybe the first thought in our mind is for loop but after second thought I believe is most suitable for this question. Following is my program using C++. void Str(int str_size, int index, char *str) { if(str_size == index) { str[index] = '\0'; cout<