Kizspy | Question: 27
(Choose 1 answer)
PUUVERFLOW.com
What will be the output of the following C code snippet?
#include <stdio.h>
int factorial(int n) {
if (n <= 1)
return 1;
else
return n* factorial(n - 1);
int main() {
printf("%d", factorial(4));
return 0;
A. 4
B. 24
C. 12
D. 1