The following C function takes a list of integers as parameter and rearranges the elements in the

Question:

The following C function takes a list of integers as parameter and rearranges the elements in the list. The function is called with the list containing the 1, 2, 3, 4, 5, 6, 7 integers in the order indicated. What will be the contents of the list after the function has been executed?

image text in transcribed

image text in transcribed

A. 1,2,3,4,5,6,7 

B. 2,1,4,3,6,5,7 

C. 1,3,2,5,4,7,6 

D. 2,3,4,5,6,7,1

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: