1/11
Vocabulary practice cards covering fundamental array concepts, syntax, and strings in C programming based on lecture notes.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
Array
A data structure that stores variables of the same type in contiguous memory locations.
Data structure
A particular way of organizing data in a computer so that it can easily be accessed.
Contiguous memory
The memory layout used by arrays where the lowest address corresponds to the first element and the highest address to the last element.
Index number
A numerical value used to randomly access data elements in an array, starting from 0 for the first element.
arraySize
An integer constant number greater than 0 that specifies the number of elements required by an array.
Single-dimensional array
The simplest form of an array, declared using the syntax type arrayName[ arraySize ];.
String
An array of characters used for storing text, defined using the char type and enclosed in double quotes.
Format specifier %s
A format specifier used in the printf() function to handle strings.
Format specifier %c
A format specifier used to print a single character from a character array.
Null terminating character
Represented as \0, it must be included at the end of strings created with a character list to signal the end of the string to the C compiler.
Two-dimensional array
The simplest form of a multidimensional array, defined as an array of arrays and organized as matrices with rows and columns.
Multidimensional array
An array with more than one dimension, where subscripts are used to denote elements across multiple levels, such as rows and columns.