This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
notes:c4eng:fall2024:projects:ptb1 [2024/10/17 13:42] – [button] skephart | notes:c4eng:fall2024:projects:ptb1 [2024/10/21 23:12] (current) – [ARRAYS IN C] dprado | ||
---|---|---|---|
Line 28: | Line 28: | ||
a data structure that allows you store multiple elements of the same data type in the same memory location. Arrays can contain many different date types and even other date structures. Once an array is initialized, | a data structure that allows you store multiple elements of the same data type in the same memory location. Arrays can contain many different date types and even other date structures. Once an array is initialized, | ||
- | int numbers[5] = {1, 2, 3, 4, 5}; //declared | + | int numbers[5] = {1, 2, 3, 4, 5}; //declares |
- | int thirdNumber = numbers[3]; | + | int thirdNumber = numbers[3]; |