Week 6 Objectives


At the end of this week's classes you should

KNOW:

BE ABLE TO:

Sample Quiz Questions:

  1. Rewrite the loop in the following code so that it accesses the array using pointer notation instead of using square-bracket notation
      int list[5][10], i;
      int *pList;
      
      pList = list;
      
      // set the 0th element of each row to i
      for (i=0; i<5; i++)
        list[i][0] = i;