hello it has been weeks and still, i'm trying to figure out how to make a name generator in C for example:

mark

ramk
makr
rkma
...
..


a program that can change positions of the letters.

please HELP! will i use pointers?