How to assign to string the japanese word ネコ in C

1 Answer

0 votes
#include <stdio.h>

int main() {
    const char *str = "ネコ"; // cat
    
    printf("%s\n", str);
    
    return 0;
}

   
   
/*
run:
   
ネコ
   
*/

 



answered Apr 19, 2025 by avibootz
...