fork download
  1. # include <stdio.h>
  2.  
  3. int myStrlen(char s[]){
  4.  
  5. }
  6.  
  7. int main(){
  8. int len;
  9. char s[100];
  10. scanf("%s",s);
  11. len = myStrlen(s);
  12. printf("%s -> %d\n",s,len);
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 5280KB
stdin
abcd
stdout
abcd -> 0