Advertisement Upgrade to remove ads

The _________ causes a program to wait until information is typed at the keyboard and the Enter key is pressed.

cin object

The ______ operator always follows the cin object, and the ______ operator follows the cout object.

>>, <<

In any program that uses the cin object, you must include the ___________.

iostream header file

reads a line of input, including leading and embedded spaces, and stores it in a string object.

getline

When this operator is used with string operands it concatenates them, or joins them together.

+

What is the value stored at x, given the statements:

int x;
x = 3 / static_cast<int>(4.5 + 6.4);

0

Please allow access to your computer’s microphone to use Voice Recording.

Having trouble? Click here for help.

We can’t access your microphone!

Click the icon above to update your browser permissions above and try again

Example:

Reload the page to try again!

Reload

Press Cmd-0 to reset your zoom

Press Ctrl-0 to reset your zoom

It looks like your browser might be zoomed in or out. Your browser needs to be zoomed to a normal size to record audio.

Please upgrade Flash or install Chrome
to use Voice Recording.

For more help, see our troubleshooting page.

Your microphone is muted

For help fixing this issue, see this FAQ.

Star this term

You can study starred terms together

NEW! Voice Recording

Create Set