Note: (Restricted functionality due to obvious reasons!)

For Mobile-Ease ⇓

Minimal Code ( Raw-View ) :
#include<iostream.h> #include<conio.h> class Human { public : int age , height; void speak(){ cout<<"\n Blah blah !!...\n"<<age; } }h1; void r1(){ h1.speak(); // -> Accessible as h1 is global variable // h2.speak(); // -> InAccessible as h2 is local variable of main() } void main(){ Human h2; h1.age = 32; h2.age = 10; h1.speak(); h2.speak(); r1(); }