LESSON 3 Flashcards
Named storage that programs can use (placeholders).
Variables
Names use for classes, variables, and methods.
Identifiers
The operating system allocates memory based on the data type of the variable.
Data Types
Two data types available in C++:
Primitive data types
Reference data types
Stores either value true or false.
bool
Typically a single octet (one byte). This is an integer type.
char
The most natural size of integer for the machine.
int
A single-precision floating point value.
float
double-precision floating point value.
double
Special characters are represented by so-called _________, which begins with a back-slash () followed by a pattern, e.g., \t for tab, \n for newline.
Escape sequence
C++ OPERATORS
Arithmetic
Compound Assignment
Increment and Decrement
Relational
Logical