Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - C language array moves the elements in the integer array one place to the right ~ ~ The homework is due soon ~ as long as
C language array moves the elements in the integer array one place to the right ~ ~ The homework is due soon ~ as long as
For example, the array a[20] can start with t=a[ 19]; for(I = 18; I & gt=0; i++); a[I+ 1]= a[I]; a[ 1]= t; They all moved one to the right and the last one went to the front.