Which of the following statements are true?
```
Segment 1 Segment 2
int i = 0;
for (int i = 0; i <= 20; i++) {
while (i < 20) { System.out.println(i);
i++; }
System.out.println(i);
}
```
a. The output from these segments is not the same.
b. The scope of the control variable i is different for the two segments.
c. Both (a) and (b) are true.
d. Neither (a) nor (b) is true.
c. Both (a) and (b) are true.
Computer Science & Information Technology