Chapter 9 Computer Science

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/16

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 4:08 AM on 5/9/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

17 Terms

1
New cards

address

A value that specifies the location of a variable in memory.

2
New cards

dereferencing

Locating an object when a pointer to the object is given

3
New cards

Pointer Syntax

knowt flashcard image
4
New cards

* operator

access location to which pointer points

5
New cards

& operator (used with variable)

yields a memory address

6
New cards

pointer to nth array element

a[n] or *(a + n)

7
New cards

C string

An array of char values

8
New cards

C string declaration

char charArr[] = "word"

9
New cards
strlen(s)

Returns the length of s

10
New cards
strcpy(t, s)
Copies the characters from s into t.
11
New cards
strncpy(t, s, n)
Copies at most n characters from s into t.
12
New cards
strcat(t, s)
Appends the characters from s after the end of the characters in t.
13
New cards
strncat(t, s, n)
Appends at most n characters from s after the end of the characters in t.
14
New cards
strcmp(s, t)
Returns 0 if s and t have the same contents, a negative integer if s comes before t in lexicographic order, a positive integer otherwise.
15
New cards
' '
The space character
16
New cards
'\n'
The newline character
17
New cards
'\0'
The null terminator of a string