#include<iostream>
using namespace std;
int var=20;
int main()
{
int var=5;
cout<<"var"<<ends<<::var<<ends<<"is a global variable";
cout<<"\n\nvar"<<ends<<var<<ends<<"is a local variable";
return 0;
}
Easy programming and better way to learn the programming . if you like the scorce code do like like share and subscribe the chennel.
No comments:
Post a Comment