Solved

In the Bubble Sort Algorithm,the Two Arguments Sent into the Swap

Question 22

Multiple Choice

In the bubble sort algorithm,the two arguments sent into the swap module are ___________.


A) array[index] and array[index-1]
B) array[index+1] and array[index-1]
C) array[index-1] and array[index+1]
D) array[index-1] and array[index]
E) None of the above

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions