How is the for loop different from the while loop in R?
A. for loop is used for fixed iterations, while loop for variable iterations
B. while loop is used for fixed iterations, for loop for variable iterations
C. Both for and while loops are used for fixed iterations
D. Both for and while loops are used for variable iterations
Answer: Option A
Join The Discussion