fork download
  1. #include <stdio.h>
  2.  
  3. void foo(char s[1]) {
  4. printf("%s\n", s);
  5. }
  6.  
  7. int main(void) {
  8. char yoba[5]="allo";
  9. foo(yoba);
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0s 2112KB
stdin
Standard input is empty
stdout
allo