/* */ Click to Join Live Class with Shankar sir Call 9798158723

What is Scope of Variable in C++ ?

A function is defined as the region or a boundary of the program in which a variable or a function is visible is know as the Scope of the variable.

Type of Scope in C++.

  1. Global Scope
  2. Local Scope
  3. Static scope
  4. class scope
  5. Namespace Scope