Some questions on arrays and pointers

  1. Which line would definitely cause the example in the notes to break down? Why?
    void main()
    {
       int i, * ip;
       ip = & i;
       ip[0] = 3;
       ip[1] = 2;
       ip[2] = 1;
    }
    
Answers to these questions.
Back to notes on arrays and pointers.