Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

COE 254: OBJECT-ORIENTED PROGRAMMING

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.

T-S M.A. ADJAIDOO 1

You might also like