About this document
Computing Squares in C Arrays by Thomas Scott is a document available to read on EtoBox.
The document appears to be discussing programming concepts in C. It explains how to declare an array to store the squares of numbers from 1 to 10. Specifically, it notes that arrays in C are 0-indexed, so an array declared as int squares[10] would only have elements squares[0] to squares[9]. The program in the document declares the array as int squares[11] to have elements squares[1] to squares[10] as desired.
- Author
- Thomas Scott
- Language
- EN