C++ में Scope क्या होता है?
Scope का मतलब है:
Program का वह area जहाँ किसी variable, function या class member को उसके नाम से access किया जा सकता है।
{
int x = 10; // x का scope इसी block के अंदर है
}
cout << x; // E
yesamitsingh.hashnode.dev5 min read