Expressions and Interactivity Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is the cin object used for?

A

Input

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

What is the extraction operator?

A

> >

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

c-strings will input characters up to the first…

A

white space

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

string objects will input until the first…

A

white space.

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

What is a common result of an overflow or underflow in a data type?

A

The number will wrap.

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

What is data type coercion?

A

Automatic conversion of a data type for mathematical operations or assignment.

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

What are the three ways to typecast?

A
static_cast(variable/expression)
data type (variable/expression)
(datatype)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly