I created this small function just to practice C code. It's It's a simple random string generator.
I added the mySeedmySeed
var so that if I call it twice with the same length it doesn't give me the same exact string.
Thanks
EDIT:EDIT:
Thanks for the improvements. II have changed the code to this:
I know that in the sizeof(charset)sizeof(charset)
you don't have to use the ()()
. You only need them when using sizeof with types, but it's just out of habit :D.