fork download
  1. #include <stdio.h>
  2. //練習問題G
  3.  
  4. int func(int n){
  5. int a, b=2, c=1;
  6. int i;
  7.  
  8.  
  9. }
  10. int main(void) {
  11. int n = 3;
  12. printf("数列anについて, n=%dのときの値は%d\n", n, func(n));
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 5276KB
stdin
Standard input is empty
stdout
数列anについて, n=3のときの値は0