First,I paste the source code :
#include <stdio.h>
int main()
{
printf("%c",'abcdefg');
return 0;
}
I know %c is used to print one character,but I want to know for this source code why the terminal print the last character of the string.
thanks,everyone, Here are similar question: Please explain this result please. printf("%c", 'abcd')