AB Soft interview question

Write the factorial function

Interview Answer

Anonymous

7 Aug 2017

int Factorial(int i) { if (i <= 1) return 1; return i * Factorial(i - 1); }