Consider the following segment:
Note : Assume the count = count + 1; will execute in ‘3’ different instructions.
Where, m[count] refers to memory value of count variable.
Preemption can occur while executing the above instructions. Each of the tally function has a separate register allocated to it in which the value of count is stored. After completion of main function, what will be the minimum and maximum values of count in the end of the program?
a) Min = 5, Maximum = 15
b) Min = 2, Maximum = 15
c) Min = 1, Maximum = 15
d) Min = 15, Maximum = 15