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