My array keeps outputting this random character (kind of like a # in a box). Anyways, its just garbage really, but how do i stop it from doing this.
If my array was like
char title[10]
and the user inputted something with only 5 characters, then the remaining characters would be the garbage character.
How do I stop this?