133k views
6 votes
Consider the following code segment

Consider the following code segment-example-1

1 Answer

6 votes

Answer:

E

Step-by-step explanation:

The first loop assigns "John" to name and prints name

The second loop iteratively prints every name in order in the given array.

User Panzerschreck
by
5.4k points