What is the scope of variable z?

Given this code:
```
int z;
int main( )
{
int y = 3, x = 2;
z = x + y;
return 0;
}

```

A. local
B. static
C. global
D. none of the above


C. global

Computer Science & Information Technology

You might also like to view...

____________________ devices are not tethered to network cables.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Since the 1950s, computers have been used to perform common business applications.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

A(n) _______ is the letter sequence of a variable’s name.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Which three types of printers should a technician exhibit extreme caution around hot objects when working on one that has just been powered off? (Select three.)

A) Thermal B) Laser C) 3-D D) Impact E) Solid ink F) Dye sublimation

Computer Science & Information Technology