Scope 15

What type of scope is in this C++ code?

OK So I need to identify the types of scope of each Identifier.

The type of scopes I know are Block Scope, Function-Prototype Scope, File Scope and Function Scope.

1. int w = 100;
2.
3. void foo(int x);
4.
5. int main( )
6. {
7. int y = 5;
8.
9. for(int i = 0; i < y; i++)
10. foo( i );
11.
12. return 0;
13. }
14.
15. int v = 12;
16.
17.
18. void foo(int z)
19. {
20. w = w + z;
21. }

1 = global scope

3 = function prototype scope

7 = function scope

9 = block scope

15 = global scope

20 = global scope

Find Scope 15 On eBay Below:

Bushnell Elite 15 45x60 Spotting Scope 781548P
Bushnell Elite 15 45x60 Spotting Scope 781548P
$477.24
Tasco 15 60x60mm Zoom Telescope Spotting Scope World Adventurer
Tasco 15 60x60mm Zoom Telescope Spotting Scope World Adventurer
$150.00
SVBONY SV28 Angled 15 45x50mm Zoom Spotting Scope+CellPhone Adapter+49Tripod
SVBONY SV28 Angled 15 45x50mm Zoom Spotting Scope+CellPhone Adapter+49Tripod
$80.99
Barska SV Zoom Angled  Rotatable Spotting Scope with Tripod15 45x50mm AD10782
Barska SV Zoom Angled Rotatable Spotting Scope with Tripod15 45x50mm AD10782
$89.99
SVBONY Porro MC Angled 15 45x50mm Zoom Spotting Scope+Phone Adapter
SVBONY Porro MC Angled 15 45x50mm Zoom Spotting Scope+Phone Adapter
$80.99
SVBONY SV28 15 45x50mm Angled Zoom MC Spotting Scope+49Tripod+Birding hunting
SVBONY SV28 15 45x50mm Angled Zoom MC Spotting Scope+49Tripod+Birding hunting
$75.99
SVBONY BK 7 Porro Waterproof Angled 15 45x50mm Zoom Spotting Scope+49 Tripod
SVBONY BK 7 Porro Waterproof Angled 15 45x50mm Zoom Spotting Scope+49 Tripod
$75.69
SVBONY 15 45x50mm Angled Zoom Spotting Scope Waterproof+42 125cm Height Tripods
SVBONY 15 45x50mm Angled Zoom Spotting Scope Waterproof+42 125cm Height Tripods
$78.99
SVBONY 15 45x50mm Angled Zoom Spotting Scope Waterproof Telescop+42 125cm Tripod
SVBONY 15 45x50mm Angled Zoom Spotting Scope Waterproof Telescop+42 125cm Tripod
$74.21
Spotting Scope HD Waterproof Zoom Tripod for Bird Watching Hiking Hunting Tripod
Spotting Scope HD Waterproof Zoom Tripod for Bird Watching Hiking Hunting Tripod
$62.19
SV 15 45x50mm Angled Zoom Spotting Scope Waterproof Telescop+42 125cm 49 Tripod
SV 15 45x50mm Angled Zoom Spotting Scope Waterproof Telescop+42 125cm 49 Tripod
$72.37
BARSKA 15 40x50 Colorado Spotting Scope
BARSKA 15 40x50 Colorado Spotting Scope
$44.01
Nikon 15x 45x Spotting Scope
Nikon 15x 45x Spotting Scope
$300.00
Leupold SX 1 15 45x60mm Spotting Scope
Leupold SX 1 15 45x60mm Spotting Scope
$160.00
Athlon Optics Ares Spotting Scope 15 45x65 ED 312002
Athlon Optics Ares Spotting Scope 15 45x65 ED 312002
$599.99
Carl Zeiss Diascope Angled 65mm Spotting Scope with Vario 15 45x Eyepiece
Carl Zeiss Diascope Angled 65mm Spotting Scope with Vario 15 45x Eyepiece
$1,795.00
Zeiss Victory 15x 45x T FL DiaScope 65 Spotting Scope Angled Body Eyepiece
Zeiss Victory 15x 45x T FL DiaScope 65 Spotting Scope Angled Body Eyepiece
$1,795.00
Konus 7116 Konuspot 65 15x 45x65mm Spotting Scope Tripod
Konus 7116 Konuspot 65 15x 45x65mm Spotting Scope Tripod
$179.99
Barska 15 40 x 50mm Colorado Spotting Scope
Barska 15 40 x 50mm Colorado Spotting Scope
$45.90
Barska 15 45x50 Naturescape Waterproof Spotting Scope Mid Size Spotting Scopes
Barska 15 45x50 Naturescape Waterproof Spotting Scope Mid Size Spotting Scopes
$84.99
Barska 15 45x65 Naturescape ED Waterproof Spotting Scope Full Size
Barska 15 45x65 Naturescape ED Waterproof Spotting Scope Full Size
$307.85
15 45x50mm Angled Zoom Spotting Scope Waterproof Telescop+42 125cm 49 Tripod No
15 45x50mm Angled Zoom Spotting Scope Waterproof Telescop+42 125cm 49 Tripod No
$73.14
Gosky 15 45X 60 Porro Prism Spotting Scope Waterproof Scope For Bird Watching
Gosky 15 45X 60 Porro Prism Spotting Scope Waterproof Scope For Bird Watching
$98.89
Konus Pot 50 Spotting Scope 15 40x50mm Zoom With Table Tripod 7124
Konus Pot 50 Spotting Scope 15 40x50mm Zoom With Table Tripod 7124
$51.98
M49 Sniper Observation 20x Spotting Scope + M164 Hard Case + M15 Tripod Military
M49 Sniper Observation 20x Spotting Scope + M164 Hard Case + M15 Tripod Military
$291.50
Tasco Model 20E Spotting Scope 15X 45X 50MM Japan Made w ORIGINAL BOX RARE
Tasco Model 20E Spotting Scope 15X 45X 50MM Japan Made w ORIGINAL BOX RARE
$59.99
SUNCORE Porro Prim Bird Watching Spotting Scope with Tripod 15 45X60S 15 45X60A
SUNCORE Porro Prim Bird Watching Spotting Scope with Tripod 15 45X60S 15 45X60A
$56.99
Leupold 15 45x60mm SX 1 Ventana 2 Angled Spotting Scope Black Finish 170757
Leupold 15 45x60mm SX 1 Ventana 2 Angled Spotting Scope Black Finish 170757
$309.98
Meade Wilderness 15 45x65 Spotting Scope 126000
Meade Wilderness 15 45x65 Spotting Scope 126000
$119.00
Vanguard 15 45x Zoom Spotting Scope for Birding Hunting and Sporting Events
Vanguard 15 45x Zoom Spotting Scope for Birding Hunting and Sporting Events
$68.59
Spotting Scope 15 40x50 Spotter Binocular Lightweight Hunting Shooting Outdoor
Spotting Scope 15 40x50 Spotter Binocular Lightweight Hunting Shooting Outdoor
$35.57
SUNCORE Zoom Spotting Scope Bird Watching Telescope Multi coated FMC+Tripod
SUNCORE Zoom Spotting Scope Bird Watching Telescope Multi coated FMC+Tripod
$46.99


Recently Purchased Scope 15:


leupold 1530x50 spotting scope set, konus konuspot spotting scope 1545x65 green finish 7116b, bushnell sportview spotting scope 781545 15 45x50 mm, €ab exc€ vixen geoma ii 67s spotting scope w glh 20d glh 15 eye piece y3155, leupold 120375 gr compact spotting scope shadow gray 1530 x 50mm, seouloptics windriver 1545x60mm straight waterproof spotting scope, seouloptics windriver 1545x60mm angle waterproof spotting scope, vintage hyscore spotting scope 1530x with stand, new bushnell camo spacemaster spotting scope 15x with backpack case and tripod, burris landmark spotting scope 15x45x60mm with tasco mount long eye relief , bushnell sportview zoom 781545 15 45x50 mm spotting scope w tripod , vortex viper spotting scope 1545x65, bushnell elite 1545x60 spotting scope new, angled zoom 1545x50 waterproof bak7 spotting scope monocular telescope wtripod, barska 1540x50 colorado spotting scope, barska 1540x50 colorado spotting scope new free shipping, barska 1545x60 wp naturescape ed glass spotting scope, winchester spotting scope 1545x60mm case tripodamp; travel case and keys, bushnell 111545 imageview 1545x zoom 70mm lens spotting scope w tripod , ncstar spotting scope 1540x50mm w tripod new, alpen spotting scope and tripod 15x 22x 30x with bag, simmons spotting scope model 800520 1545x50 and case, vortex 1545x65 hd straight spotting scope with neoprene cover, simmons 41200 coated optical spotting scope with tripod case manual 1545 x 50, redhead outlook combo kit10x42 binoculars amp; 1545x60 spotting scope, new bushnell trophy 1545x 50mm waterproof compact tripod spotting scope, spotting scope 1545x60mmincludes case tripodamp; travel case winchester, barska 1540x50 colorado spotting scope large 50mm objective lens, vanguard signature 69 1545 x scope, vintage bushnell spacemaster ii spotting scope 1545x 70mm, newsvbony sv28 1545x50mm2060x60mm2575x70mm angled zoom spotting scope, bushnell 1545x50 coated optics spotting scope, 1545x50 wp naturescape spotting scope with tripod and carrying case, bushnell 1545x50 coated optics spotting scope with tri pod, zoom barska 1540x50 colorado spotting scope new free shipping mini tripod, leupold 170758 sx1 ventana 2 1545x60mm angled spotting scope kit, barska ad11106 1545x60 wp naturescape ed glass spotting scope, m49 sniper observation 20x spotting scope m164 hard case m15 tripod military, blaser 15x45x50mm spotting scope wcase, look swift mark ii zoomscope 15x60x 60mm model no841 scope w both lens caps, leupold sx1 ventana 2 1545x60mm spotting scope kit grayblack md 170756, leupold sx1 ventana 2 1545x60mm spotting scope kit grayblack md 170755, leupold sx1 ventana 2 spotting scope 1545x60mm angled grayblack md 170757, leupold sx1 1545x60mm spotting scope, sightmark latitude 1545x60 tactical spotting scope black sm11033t, winchester wt631 1545 x 60mm variable power spotting scope tripod case set, bausch and lomb spotting scope 15 by 45 by 60, leupold wind river sequoia green ring spotting scope wcase 15x45x60mm , barska optics 1545x50 wp naturescape spotting scope, leupold sx1 ventana 2 spotting scope kit 1545x60mm straight blackgray 170756, leupold sx1 ventana 2 spotting scope 1545x60mm straight blackgray 170755, bisley deluxe spotting scope 1550 x 60 free fedex shipping r1, tasco 15x45x50mm zoom 21eb spotting scope telescope with tripod in box , gosky hd 1545x60 spotting scope waterproof scope for target shooting bird , leupold 170757 sx1 ventana 2 1545x60mm angled spotting scope, leupold 170756 sx1 ventana 2 1545x60mm straight spotting scope kit, gosky 1545x 60 porro prism spotting scope waterproof spotting scope for bi