Home / MCQ Bank / Computer
Computer Control Structures In R Programming

What will be the output of the following R code? > f <- function(num) { + for(i in seq_len(num)) { + cat("Hello, world!\n") + } + } > f(3)

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option B • Hello, world! Hello, world! Hello, world!

Related Computer Questions

What is the constraint on the data per cookie? What is the purpose of the 'cin.ignore()' function in C++? Which of the following function can interrupt execution and can be called continuously? If Hibbard increments (h1 = 1, h2 = 3, h3 = 7, ______, hk = 2 k - 1) are used in a Shell sort implementation, then the best case time complexity will be ______ Which of the following nav-right value is used to the inherits this property from its parent element?