fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int myStrlen(char s[]){
  5. int i;
  6. for(i=0;s[i]!='\0';i++);
  7. return i;
  8. }
  9.  
  10. int main(){
  11. int i, size;
  12.  
  13. char t[1024];
  14. scanf("%s",t);
  15. printf("%d",t[5]);
  16.  
  17. return 0;
  18. }
  19.  
Success #stdin #stdout 0s 5340KB
stdin
abcde
stdout
Standard output is empty