What is the output from this code?
```
int x = 0;
if(x == 2 || 1)
{
cout<<”Number is 1 or 2”;
}
else
{
cout << “Number is not 1 or 2”;
}
```
A. Number is not 1 or 2
B. Number is 1 or 2
C. Number is 1 or 2 Number is not 1 or 2
D. Nothing. The statement is written incorrectly.
B. Number is 1 or 2
You might also like to view...
Storing files on _________________________ enables you to share files more efficiently with others.
Fill in the blank(s) with the appropriate word(s).
The ____ is the maximum number of horizontal and vertical pixels that can be displayed on a screen.
A. screen size B. bit depth C. resolution D. color depth
Styles are located on the ____________________ tab.
Fill in the blank(s) with the appropriate word(s).
A ____ is a group of related web pages that are linked together and share a common interface and design.
A. web browser B. web tool C. web code D. website