fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. char *v[] = { "Brasil", "Alemanha", "Japão" };
  5. for (int i = 0; i < 3; i++) {
  6. printf("%s\n", v[i]);
  7. }
  8. }
  9.  
Success #stdin #stdout 0s 2160KB
stdin
Standard input is empty
stdout
Brasil
Alemanha
Japão