C++ Flashcards

You may prefer our related Brainscape-certified 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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Fundamental types build into the language

A

Numbers

Booleans,

Single Characters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

User defined types

A

Strings,

Dates,

Business objects

Structs and Classes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Integers

A

short,

long,

int,

Unsigned versions of each

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Real numbers

A

float,

double

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Character

A

char,

unsigned char

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Boolean (true/false)

A

bool

How well did you know this?
1
Not at all
2
3
4
5
Perfectly