C++项目-数组逆置

将一个数组逆序输出

#include 
using namespace std;

int main() {
	int arr[] = { 2,6,7,32,5,94,5 };
	
	int start = 0;            //起始角标
	int end = sizeof(arr) / sizeof(arr[0]) - 1;//末尾角标(数组长度-1)

	while(start

你可能感兴趣的:(C++,c++,算法,数据结构)