int n;
long int factorial(int n){…}