LAB 05 POST-LAB ELECTRICAL ENGINEERING 20N UNIVERSITY OF CALIFORNIA, BERKELEY
Name: Pooja Mehta & Jennifer To Lab Section: Monday 12-3pm Lab TA: Howard Lei
1. The proof for the expression FC() is provided on the attached hand-written papers. 2
Pointers and Arrays
We've seen examples of both of these
in our LC-3 programs; now we'll see them in C.
Address of a variable in memory
Allows us to indirectly access variables
in other words, we can talk about its address
What is Recursion?
A recursive function is one that solves its task
by calling itself on smaller pieces of data.
Similar to recurrence function in mathematics.
Like iteration - can benused interchangeably;
sometimes recursion results i