Unformatted text preview: element number XXX having a value of YYY, was swapped with its successor which had a value of ZZZ.” At the end of the pass, have the main print: “The array was traversed and RR swaps were made on pass XX.” Follow the usually procedure WRT materials to be turned in. The purpose of this program is to illustrate the differences in the way that registers and memory locations are handled and to illustrate use of function calls....
View Full Document
- Spring '08
- Array, Control flow, Imperative programming, array element number