• go over landscape to show them how to write out 2d arrays for the hotplate lab.
• go over fun with pointers example
int fish = 5;
int dog = 6;
int *fptr = &fish;
int *dptr = &dog;

exchange the values between fish and dog

• Example: how to find the first vowel in a string
• In future years, give them a lab where they have to call a function that requires a pointer
cs-142/ch7exercises.txt · Last modified: 2015/01/07 09:08 by ryancha