McqkartGet appPractise

Given some statements on R program: f = function (n) { x = 1 for (i in 1:n) { x = x * i } x } f(5) which of the following is the output:

A1
B5
C20
D120
🔒 Answer hidden — practise on Mcqkart to check yourself and see the explanation.

Want more like this? Create a free account to practise a full test, track your progress, and get spaced-repetition review.

Practise on Mcqkart →🎓 Book an expert →