What will be the output of the following code?

```
#include
using namespace std;

int j = 1;

int main()
{
int i = 2;
cout << "i is " << i << " j is " << j << endl;
}
```
A. i is 1 j is 2
B. i is 2 j is 2
C. i is 1 j is 1
D. i is 2 j is 1


C. i is 1 j is 1

Computer Science & Information Technology

You might also like to view...

Suppose you are an ISP that owns a / 22 IPv4 address block. Can you accommodate requests from six customers who need addresses for 9, 15, 20, 41, 128, and 260 computers, respectively? If so, how? If not, explain why.

What will be an ideal response?

Computer Science & Information Technology

Which of the following is the correct order of steps for creating a report based on a query?

A) Add fields to the query, add criteria, and build the report using the query. B) Add criteria, add fields to the query, and build the report using the query. C) Build the report using the query, add criteria, and add fields to the query. D) Add fields to the query, build the report using the query, and add criteria.

Computer Science & Information Technology

Symbols not found on the keyboard can be found on the ________ tab in the Symbols group

A) Characters B) Print C) Extra D) Insert

Computer Science & Information Technology

Which comparison operator would you use to test if someone is at least 21 years old?

A) > B) >= C) ? D) ?

Computer Science & Information Technology