fork(3) download
  1. #include <stdio.h>
  2. #include <string.h>
  3. #include <locale.h>
  4. int main()
  5. {
  6. setlocale(LC_ALL, "");
  7. char *w = "Artîsté";
  8. printf("%zu\n", strlen(w));
  9. int z;
  10. for(z=0; z<strlen(w); z++){
  11. printf("%c", w[z]);
  12. }
  13. }
Success #stdin #stdout 0.01s 3904KB
stdin
Standard input is empty
stdout
9
Artîsté