title: Array Homework Questions
body: <p>Im doing self review for finals this week. I came across these questions about arrays. They are identical questions and they have left me confused. Can someone explain them to me so that I might be able to solve them?</p>
  
  <p>Suppose you have declared an array as follows: num values[4] = 0,0,0,0. Which of following is an allowed operation?</p>
  
  <pre><code>a. values[2] = 17 
  b. input values [0]
  c. values[3] = values[0] + 10
  d. all of the above
  </code></pre>
  
  <p>suppose you have declared an array as follows: num values[4] = 0,0,0,0. Which of following is an allowed operation?</p>
  
  <pre><code>a. values [4] = 80
  b. values[2] = values[4] - values[0]
  c. output values [3]
  d. all of the above
  </code></pre>