At the end of which of the following code segments is the value of sum the same as the value of sum at the end of the preceding code segment? Select two answers.
a) After the for loop
b) Before the for loop
c) After the while loop
d) Before the while loop