McqkartGet appPractise

Consider the following R code: x <- c(15, 42, 8, 23, 30) order(order(x)) What is printed when the code is run?

A[1] 2 5 4 1 3
B[1] 2 5 1 3 4
C[1] 3 1 4 5 2
D[1] 4 1 5 3 2
🔒 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 →