//Displays array elements in reverse order(static array size of 7) void rev_disp(float *x) { std::cout << "Your numbers in reverse order are: "; std::cout << std::endl; for(int i=0; i<7; i++) *x++ for(int i=0; i<7; i++) { std::cout << *x << ", "; *x-- } }