fork download
  1. #include <stdio.h>
  2. #include <string.h>
  3.  
  4. int main(void) {
  5. char *emoji = "😀";
  6. printf("strlen('😀') = %i\n", strlen(emoji));
  7. return 0;
  8. }
  9.  
Success #stdin #stdout 0s 10320KB
stdin
Standard input is empty
stdout
strlen('😀') = 4