int a[]={12,34,55,76,89,23};
int n=5;
while(n>1){
a[n]=a[--n];}
for(int i=0;i<6;i++){
printf("%d\t",a[i]);
}
Mentor note: Please use code tags in future posts. I've added them to this code.
The above code should shift the element values to the right of each array cell, but after running...