fork download
  1. #include<stdio.h>
  2.  
  3. int main(void){
  4. char s[]="hello";
  5. int i=0;
  6. while(s[i]!='\0'){
  7. printf("%c",s[i]);
  8. i++;
  9. }
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0.01s 5240KB
stdin
Standard input is empty
stdout
hello