B.Sc. CSIT Nepal Study Kit
Thursday, September 25, 2014
WAP in C++ to print the value of global variable within the local scope by the use of scope resolution operator.
#include
#include
#include
int s=90;
void main()
{
int s=50;
cout<<"value of local variable: "<
getch();
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment