1. Home
  2. Computing & Technology
  3. C / C++ / C#

Definition of Scope

By , About.com Guide

Definition: Scope refers to identifiers, that is types, functions, classes and variables and is that part of the source code where the particular identifier is visible.

There are different types of scope. In C++ there is File scope where the identifier exists global to a source code file, class scope - just within that class, local scope - within a function.

Glossary:

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Explore C / C++ / C#
By Category
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. C / C++ / C#

©2009 About.com, a part of The New York Times Company.

All rights reserved.