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