Processing math: 100%

 

 

 

Brief summary

  • A C/C++ array begins by indexing at 0!
  • Array allocations are done by size, not by the final index value.If you allocate an array with 10 elements, you should index them from 0,1,,9.
  • Initialize always an array before a computation.