C++: Variable Flashcards

1
Q

A variable is simply a name that represents a particular piece of your computer’s memory that has

A

been set aside for you to store, retrieve, and use data.

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

Data types in C++

A

int: integer numbers
double: floating-point numbers
char: individual characters
string: a sequence of characters
bool: true/false values

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

there is something called cin

A

that’s used for input!

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