adsense


Friday, 20 November 2015

VARIABLES CAN BE DECLARED PAGE 19

COMPUTER LANGUAGES HTML,C,C++.JAVA,.NET AND MULTIMEDIA basics and programs click home button



C++ LANGUAGE




VARIABLES CAN BE DECLARED 

A scope is a region of the program and broadly speaking there are 
three places, where variables can be declared: 

• Inside a function or a block which is called local variables, 

• In the definition of function parameters which is called formal parameters. 

• Outside of all functions which is called global variables. 

We will learn what a function is, and it's parameter in subsequent chapters. 
Here let us explain what local and global variables are. 


No comments: