1/19
These flashcards cover key vocabulary and concepts related to C++ data types and structures, including definitions of types, operators, and functions.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
char
A C++ simple data type that is always 1 byte in size.
bool
A data type in C++ that contains only two values: true and false.
enum
A user-defined type in C++ that consists of a set of named integral constants.
struct
A composite data type in C++ that is used to bundle related variables.
union
A C++ struct that allows storing different data types in the same memory location.
sizeof
A C++ unary operator that returns the size in bytes of its operand.
floating point type
A data type that represents numbers with fractional parts using decimals.
integral type
A data type that represents whole numbers without fractions.
combined assignment operator
An operator that combines assignment and another operation, e.g., +=, -=.
aggregate operation
An operation that applies to the entire data structure instead of individual components.
ASCII
A character encoding standard that represents characters as one-byte integers.
header file
A file containing declarations and definitions that can be included in other C++ files.
typedef
A keyword in C++ used to create an alias for existing data types.
pointer
A variable that holds the memory address of another variable.
reference
An alias for another variable that allows direct access to its value.
human-readable type
A data type that is easily understood and interpreted by programmers.
scientific notation
A way of representing numbers that are too large or small to be conveniently written in decimal form.
data type
A classification that specifies which type of value a variable can hold.
machine-dependent
Size or behavior that can vary based on the machine architecture.
structured data type
A data type that is a collection of different data types bundled together.