Choose the correct order of statements to calculate and return the factorial of 4.
for (k=1; k<=4; k++)
return fa;
long fa = 1, k;
fa *= k;
3, 1, 4, 2Correct Order:
long fa = 1, k; → (Initialize fa to store factorial)
for (k=1; k<=4; k++) → (Loop through numbers 1 to 4)
fa *= k; → (Multiply fa by k in each iteration)
return fa; → (Return the computed factorial)