I have a question about the elements of A in the following:
Code:int Tally(float A[], int Size, float X) { if (Size <= 0){ /* to see if it is 0 or neg numb and returns a*/ return a;} else return (A[0] == X) + Tally(A + 1, Size - 1, X); /*first element is checked against X and tally a is incremented by on size decremented*/ }
Doesnt this code return the number of elements in A equal to x