Back To C++ Single Dimensional Arrays Index
//program to initialize an array of 5 integer elements and reverse the array without using another array #include
#include
void main() { int a[5]={1,5,7,4,6}; int i,j,n=5; int k; clrscr(); for(i=0,j=n-1;i