Professional Documents
Culture Documents
Lab 6
Lab 6
LAB ACTIVITY 6
POINTERS
INTRODUCTION
You will need a good understanding of pointers to undertake this lab activity.
Once again, try this before you come to the lab.
PRACTICE
1. Write a function to find the largest number in a given integer array.
2. Write a function to find the smallest number in a given integer array.
3. Using pointers, write a single function to find both the largest and smallest numbers in a
given integer array.