Vidyalelo
R Programming · Q20

Control Structures in R Programming

Programming · R Programming · question 20

Q20

In R, what does the repeat loop combined with next do?

A.
Repeats a block of code indefinitely and skips to the next iteration when a condition is met
B.
Repeats a block of code a specified number of times and exits the loop immediately
C.
Repeats a block of code a specified number of times and skips to the next iteration
Answer
D.
Repeats a block of code indefinitely and exits the loop immediately

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board