Copyright ©2004 Pearson Addison-Wesley. All rights reserved.
Array Elements as Function arguments
If we want to print the ith element of the array x[i], then we can do the following:
We can also pass array elements as arguments to functions that we write. For example: