Identifiers, Variables, Keywords, and Data Types in C

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

1/10

flashcard set

Earn XP

Description and Tags

Flashcards covering key terms, data types, variable rules, keywords, and identifiers for Week 4 C programming fundamentals.

Last updated 10:15 AM on 9/22/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

11 Terms

1
New cards

Tokens in C

The individual elements in a C program that are identified by the compiler, including operators, keywords, identifiers, constants, special symbols, and strings.

<p>The individual elements in a C program that are identified by the compiler, including operators, keywords, identifiers, constants, special symbols, and strings.</p>
2
New cards

Keyword

A pre-defined or reserved word in the C compiler that performs a specific function, consists only of lowercase letters, and cannot be used as an identifier.

3
New cards

Identifier

A user-defined name given to program elements such as variables, functions, and arrays, consisting of alphanumeric characters and underscores, starting with a letter or underscore.

4
New cards

Variable

A named memory location used to store a value during program execution whose content can change while its name remains constant.

5
New cards

Variable Declaration

The process of informing the compiler of a variable's name, data type, and scope/lifetime before it is used in executable statements.

6
New cards

int Data Type

A basic C data type representing whole numbers (e.g., 33, 77, +8+8, −9-9, 10000001000000) using the format specifier %d\%d or %i\%i.

7
New cards

float Data Type

A C data type used for numbers with a decimal point (e.g., 5.85.8, 9.09.0, −5.6789-5.6789, +0.0032+0.0032) using the format specifier %f\%f.

8
New cards

char Data Type (Single Character)

A C data type representing a single letter, symbol, or number enclosed within two single quotes (e.g., 'B', 'r', '*', '3') using the format specifier %c\%c.

9
New cards

char Data Type (String)

A series of characters enclosed within double quotes (e.g., "Ms.", "Hi!") formatted using the specifier %s\%s.

10
New cards

double Data Type

A C data type used for bigger or larger numbers with a decimal point (e.g., 123456789.123123456789.123) using the format specifier %f\%f.

11
New cards

Case Sensitivity

The C language rule where uppercase and lowercase letters are not equivalent, treating names like 'name' and 'Name' as two distinct identifiers.