c

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

1/32

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 8:14 AM on 1/28/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

33 Terms

1
New cards

What are C keywords?

Reserved words with special meaning to the compiler; cannot be used as identifiers.

2
New cards

How many original keywords are there in the ANSI C standard?

32 original keywords in the ANSI C (C89) standard.

3
New cards

Define int in C.

Used for integer values.

4
New cards

Define char in C.

Used for character values.

5
New cards

Define float in C.

Used for single-precision floating-point numbers.

6
New cards

Define double in C.

Used for double-precision floating-point numbers.

7
New cards

What does void represent in C?

Represents the absence of type, used for functions returning nothing.

8
New cards

What are the control flow keywords for conditional execution in C?

if and else.

9
New cards

What is the purpose of the switch keyword in C?

Used for multi-way branching.

10
New cards

List the loop structure keywords in C.

for, while, and do.

11
New cards

What does the break keyword do in C?

Exits a loop or switch block immediately.

12
New cards

What is the effect of the continue keyword in C?

Skips the current iteration of a loop.

13
New cards

What does the goto statement do in C?

Transfers control to a labeled statement.

14
New cards

What is the purpose of the return keyword in C?

Exits a function and optionally returns a value.

15
New cards

Define the auto storage class in C.

Default storage class for local variables.

16
New cards

What does the static keyword do in C?

Preserves variable value between function calls or limits scope to a single file.

17
New cards

What is the purpose of the extern keyword?

Indicates that a variable is defined in another translation unit.

18
New cards

What does the register keyword suggest in C?

Suggests to store the variable in a CPU register.

19
New cards

What is a struct in C?

Groups variables of different types under one name.

20
New cards

What does a union do in C?

Allows storing different data types in the same memory location.

21
New cards

What is an enum in C?

Defines a set of named integer constants.

22
New cards

What does the typedef keyword do?

Creates an alias for an existing data type.

23
New cards

Define the const qualifier in C.

Indicates variables whose value cannot be modified after initialization.

24
New cards

What does the volatile qualifier indicate?

Informs the compiler that a variable's value can change unexpectedly.

25
New cards

What does the sizeof operator do?

Returns the size (in bytes) of a type or variable.

26
New cards

What do signed and unsigned modifiers specify?

Indicate if a type can hold negative values.

27
New cards

What do short and long modifiers change?

Change the storage size of a data type.

28
New cards

What is the purpose of the inline keyword in modern C?

Used for function optimization to reduce call overhead.

29
New cards

What does the restrict qualifier do?

Helps in compiler optimization for pointers.

30
New cards

Define _Bool in C.

The boolean data type.

31
New cards

What are _Complex and _Imaginary used for?

Support for complex number arithmetic.

32
New cards

What is the purpose of _Atomic?

Support for thread-safe concurrent variables.

33
New cards

What does _Static_assert do?

Allows compile-time assertions.

Explore top flashcards

flashcards
SAT Math
82
Updated 964d ago
0.0(0)
flashcards
Animal Science Chapter 5
44
Updated 797d ago
0.0(0)
flashcards
4b Politcal geohgrpahy
42
Updated 1117d ago
0.0(0)
flashcards
BANDAGING
37
Updated 372d ago
0.0(0)
flashcards
La Salud vocabulary
80
Updated 1127d ago
0.0(0)
flashcards
Chapter 12-Latin
50
Updated 872d ago
0.0(0)
flashcards
SAT Math
82
Updated 964d ago
0.0(0)
flashcards
Animal Science Chapter 5
44
Updated 797d ago
0.0(0)
flashcards
4b Politcal geohgrpahy
42
Updated 1117d ago
0.0(0)
flashcards
BANDAGING
37
Updated 372d ago
0.0(0)
flashcards
La Salud vocabulary
80
Updated 1127d ago
0.0(0)
flashcards
Chapter 12-Latin
50
Updated 872d ago
0.0(0)