fork download
  1. #include <stdio.h>
  2. void hoge(int n){
  3.  
  4. int i;
  5. for(i = 1; i <= n; i++){
  6. printf("%d\n", i);
  7. }
  8. }
  9. int main(){
  10. hoge(3);
  11. return 0;
  12. }
Success #stdin #stdout 0s 5324KB
stdin
Standard input is empty
stdout
1
2
3