What (if anything) is wrong with the following code? The definition of
tripler is given in Self-Test Exercise 11.
int b[5] = {1, 2, 3, 4, 5};
for (int i = 1; i <= 5; i++)
tripler(b[i]);
Sorry the answer is not available at the moment…
If you are able to find the answer, please make sure to post it here. So that your Juniors have smile on their lips and feel happy.
Spread the 'tradition of sharing'.