Question 5
Subtract values from R1 until R2 is zero
Increment R1 by the sum of values from R2 to 1
Multiply R1 by R2
Divide R1 by R2
Subtract values from R1 until R2 is zero
Increment R1 by the sum of values from R2 to 1
Multiply R1 by R2
Divide R1 by R2
Correct answer
Increment R1 by the sum of values from R2 to 1
Question 5 of 16 in the IIT Madras BS Programming in C (Programming in C) Quiz 1 paper sat on 23 Feb 2025, in the January 2025 term (IIT M DEGREE AN EXAM QDB2 23 Feb 2025). It carries 4 marks.