I understand the array address, but the code I received in a book has made me nose. I understand the recurring function, but it does not get one. Here's the code:
int main () {int int array = 5; Int one [array] = {32, 27, 64, 18, 95}; Cout & lt; & Lt; "There are values in the reverse array:" & lt; & Lt; Endl; Some functions (A, array size); Cout & lt; & Lt; Endl; Cin.get (); Return 0; } Some functions with zero (int b [], int size) {if (size> gt; 0) {someFunction (& amp; b [1], shape - 1); Cout & lt; & Lt; B [0] & lt; & Lt; ""; }} I have received this code in a drill. My question is how is this array changing? I would be happy if someone would explain a bit more.
Here are some pseudo codes that show how Nothing is doing because there is nothing left in the array. Now Then your output will be: some functions first element
"values in the reverse array are:" 95 18 64 27 32
No comments:
Post a Comment