Scopes in C++

In general, scope is defined as the extent upto which something can be worked with (or a scope is a region of the program ). In programming also scope of a variable is defined as the extent of the program code within which the variable can we accessed or declared or worked with.

Read this article to understand Scopes in C++ in depth

Have a doubt or thought? Join the discussion now


This is a companion discussion topic for the original entry at http://iq.opengenus.org/scope-cpp/