You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
array[index]: specifies the element at the specified index in the array.
array[FIRST]: secifies the first element in the array.
array[LAST]: specifies the last element in the array.
array[SIZE]: specifies the size of the array.
Let’s say we have a person with many dogs. index should be replaced with a number which will return the dog that you want to check against. Here we’re checking if the first dog’s age is 5. dogs[0].age = 5
Here we’re checking if a person has 3 dogs dogs[SIZE] = 3
array[index]
: specifies the element at the specified index in the array.array[FIRST]
: secifies the first element in the array.array[LAST]
: specifies the last element in the array.array[SIZE]
: specifies the size of the array.Let’s say we have a person with many dogs. index should be replaced with a number which will return the dog that you want to check against. Here we’re checking if the first dog’s age is 5.
dogs[0].age = 5
Here we’re checking if a person has 3 dogs
dogs[SIZE] = 3
Part of #2978
The text was updated successfully, but these errors were encountered: