MCQOPTIONS
Saved Bookmarks
| 1. |
Which of the following statements is the basic for loop for a shell sort algorithm? |
| A. | for(increment=N/2;increment>0;increment/=2) |
| B. | for(i=1;i<n;i++) |
| C. | for(i=n/2;i>=0;i- -) |
| D. | for(i=0;i< n;i++;numelements- -) |
| Answer» B. for(i=1;i<n;i++) | |