I have another simple question.
say for example my code looks like this:
what will happen to the original contents of str? will g be appended to them or will they be cleared?Code:char str[10] = "abcdef"; sprintf(str, "%c", 'g');
thank you in advance!