When I try to print an array of characters as a string with a variable before, like that
int main()
{
string text = "a";
char str[2] = {'a', 'b'};
printf("%s\n", str);
}
I get this output ab @
and I don't have ANY idea where this @ came from.
It's bugging my "substitution.c" from pset2