Home > Software engineering >  How do I print a zero width space character in C
How do I print a zero width space character in C

Time:12-28

I've tried using printf to print a zero width space
printf("%c", '​');

I get a warning whenever I try compiling
warning: multi-character character constant [-Wmultichar]
And when I run the program, I get whitespaces instead of the invisible character, so I placed letters in between the character to see if I get any different results, and it printed nothing printf("a

  • Related