fork download
  1. #include <stdio.h>
  2.  
  3. int square(int x){
  4. return x*x;
  5. }
  6.  
  7. int main(void){
  8.  
  9. int a;
  10. a=2;
  11. printf("%dの4条は%d",a,square(square(a)));
  12.  
  13. return 0;
  14. }
Success #stdin #stdout 0.01s 5324KB
stdin
Standard input is empty
stdout
2の4条は16