fork(1) download
  1. #include <stdio.h>
  2. Power(int n)
  3. {
  4.  
  5. int i;
  6. for(i=1;i<=n;i++)
  7. n=i*n;
  8. return n;
  9. }
  10.  
  11. int main(void) {
  12. // your code goes here
  13. int m;
  14. m=Power(4);
  15. printf("m=%d\n",m);
  16.  
  17. return 0;
  18. }
  19.  
Success #stdin #stdout 0s 5348KB
stdin
Standard input is empty
stdout
m=-861720576