Home > Back-end >  The embedded
The embedded

Time:09-29

Refer to 1. Write a function, the parameter of type int array length are 20. A, b, demanding the array a number 20 (subscript reverse), transmitted to the array b (subscript positive sequence),

CodePudding user response:

 
Void f (int a [20], int b [20])
{
For (int n=0; N<20; N++)
B [0]=a, 20-1 - [n].
}


CodePudding user response:

reference 1st floor GKatHere response:
 
Void f (int a [20], int b [20])
{
For (int n=0; N<20; N++)
B [0]=a, 20-1 - [n].
}




[n]=b a, 20-1 - [n].
  • Related