1/32
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
What are C keywords?
Reserved words with special meaning to the compiler; cannot be used as identifiers.
How many original keywords are there in the ANSI C standard?
32 original keywords in the ANSI C (C89) standard.
Define int in C.
Used for integer values.
Define char in C.
Used for character values.
Define float in C.
Used for single-precision floating-point numbers.
Define double in C.
Used for double-precision floating-point numbers.
What does void represent in C?
Represents the absence of type, used for functions returning nothing.
What are the control flow keywords for conditional execution in C?
if and else.
What is the purpose of the switch keyword in C?
Used for multi-way branching.
List the loop structure keywords in C.
for, while, and do.
What does the break keyword do in C?
Exits a loop or switch block immediately.
What is the effect of the continue keyword in C?
Skips the current iteration of a loop.
What does the goto statement do in C?
Transfers control to a labeled statement.
What is the purpose of the return keyword in C?
Exits a function and optionally returns a value.
Define the auto storage class in C.
Default storage class for local variables.
What does the static keyword do in C?
Preserves variable value between function calls or limits scope to a single file.
What is the purpose of the extern keyword?
Indicates that a variable is defined in another translation unit.
What does the register keyword suggest in C?
Suggests to store the variable in a CPU register.
What is a struct in C?
Groups variables of different types under one name.
What does a union do in C?
Allows storing different data types in the same memory location.
What is an enum in C?
Defines a set of named integer constants.
What does the typedef keyword do?
Creates an alias for an existing data type.
Define the const qualifier in C.
Indicates variables whose value cannot be modified after initialization.
What does the volatile qualifier indicate?
Informs the compiler that a variable's value can change unexpectedly.
What does the sizeof operator do?
Returns the size (in bytes) of a type or variable.
What do signed and unsigned modifiers specify?
Indicate if a type can hold negative values.
What do short and long modifiers change?
Change the storage size of a data type.
What is the purpose of the inline keyword in modern C?
Used for function optimization to reduce call overhead.
What does the restrict qualifier do?
Helps in compiler optimization for pointers.
Define _Bool in C.
The boolean data type.
What are _Complex and _Imaginary used for?
Support for complex number arithmetic.
What is the purpose of _Atomic?
Support for thread-safe concurrent variables.
What does _Static_assert do?
Allows compile-time assertions.