Arrays

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/6

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

7 Terms

1
New cards

Use

storing and managing bigger blocks of data

provide a simple way of storing multiple instances ‘a sequence’ of the same data type

2
New cards

Declaring

use []

3
New cards

Indexed from…

0

4
New cards

Initialiser

can initialise only part of the array

starting from 0

5
New cards

Arrays

named contiguous data blocks in memory

don’t know how many elements are initialised

6
New cards

Arrays won’t Grow if…

you access memory before or after the allocated space

7
New cards

Array Bounds

C compiler won’t protect you

need to track these yourself and code defensively