C++ Flashcards
1
Q
C++ is a strongly typed language
A
Variables can hold only certain types of values
Must be declared before they’re used, and can’t change type
2
Q
Fundamental types build into the language
A
Numbers
Booleans,
Single Characters
3
Q
User defined types
A
Strings,
Dates,
Business objects
Structs and Classes
4
Q
Integers
A
short,
long,
int,
Unsigned versions of each
5
Q
Real numbers
A
float,
double
6
Q
Character
A
char,
unsigned char
7
Q
Boolean (true/false)
A
bool