Expressions and Interactivity Flashcards
1
Q
What is the cin object used for?
A
Input
2
Q
What is the extraction operator?
A
> >
3
Q
c-strings will input characters up to the first…
A
white space
4
Q
string objects will input until the first…
A
white space.
5
Q
What is a common result of an overflow or underflow in a data type?
A
The number will wrap.
6
Q
What is data type coercion?
A
Automatic conversion of a data type for mathematical operations or assignment.
7
Q
What are the three ways to typecast?
A
static_cast(variable/expression) data type (variable/expression) (datatype)