What is the effect of the following code fragment?

```
for ( int i = 0; i < MAX_SIZE; ++i )
list2[MAX_SIZE - i - 1] = list1[i];
```

a. stores in list2 one less than each corresponding element of list1
b. stores in list2 the elements of list1 arranged in ascending order
c. stores in list2 the elements of list1 arranged in descending order
d. stores in list2 the reverse of list1


d. stores in list2 the reverse of list1

Computer Science & Information Technology

You might also like to view...

In the image shown above, the arrow is pointing at the region known as a(n) ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

The ________ area of the Performance Monitor provides both instantaneous and recent-history readouts of your computer's four key performance measurements

A) Resources Monitor B) Processes C) Services D) Task Manager

Computer Science & Information Technology

The actual _______________ of a wireless network is affected by environmental factors, such as interference from other wireless devices and solid objects.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

A _________ is a user setting for biometric systems operating in the verification or open-set identification (watch list) tasks.

A. range B. threshold C. identity D. function E. none of the above

Computer Science & Information Technology