Home > Back-end >  A function call
A function call

Time:10-08

There was something wrong with it?
# include
Void A (int []);
Int B (int []);
Int main ()
{
int i;
Int 'arry [10].
B (' arry);
A (' arry);
return 0;
}
Int B (int 'arry [])
{
int i;
for(i=0; i<10; I++)
{
Printf (" please enter the first % I element \ n ", I + 1);
scanf("%d",& 'arry [I]);
}
Return (' arry [I]);
}
Void A (int 'arry [])
{
Int I, j, temp.
for(i=0; i<10 - I; I++)
for(j=0; J<10 - I - 1; J++)
If (' arry [j] <'arry [m + 1])
{
Temp='arry [j];
'arry [j]=' arry [j + 1);
'arry [j + 1)=temp;
}
for(i=0; i<10; I++)
Printf (" % 4 d, "' arry [I]);
}

CodePudding user response:

Return (' arry [I]); This sentence is equivalent to the return array [9], what is its action?

CodePudding user response:

reference 1st floor CHXCHXKKK response:
return (' arry [I]); This sentence is equivalent to the return array [9], what is its action?

Do not need this, I a small white, bosses

CodePudding user response:

reference 1st floor CHXCHXKKK response:
return (' arry [I]); This sentence is equivalent to the return array [9], what is its action?

I understand. Thank you
  • Related