fork download
  1. #include <stdio.h>
  2.  
  3. int f(int n){
  4. int ans=1;
  5. for(int i=2;i<=n;i++)ans*=i;
  6. return ans;
  7. };
  8.  
  9. int main(void) {
  10. const int n=f(5);
  11. int a[n];
  12. printf("%d",sizeof(a)/4);
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 2160KB
stdin
Standard input is empty
stdout
120