I found out a difference between char a = 'hi' and char a = "hi" while printf. From my experience in python, it works the same.
#include <stdio.h>
int main(void)
{
char a = 'h';
printf("%c",a);
return 0;
}
it prints a character properly.
but below "h" does not print well.. Why?
#include <stdio.h>
int main(void)
{
char a = "h";
printf("%c",a);
return 0;
}