After the following code executes, what is the output if user enters 0?

```
int x = -1;
cout << "Enter a 0 or 1: ";
cin >> x;
if (c)
cout << "true" << endl;
else
cout << "false" << endl;
```

a. nothing will be displayed
b. false
c. x
d. true
e. 0

b. false

Computer Science & Information Technology

You might also like to view...

The ________ touchscreen movement reduces or increases the size of the screen

A) press and hold B) pinch C) tap D) slide to scroll

Computer Science & Information Technology

As an alternative to the Delete Columns button in Word, you can right-click on a table column and use the ________ to delete the column

A) Edit table command B) Mini toolbar C) Edit Columns option D) Shortcut menu

Computer Science & Information Technology