Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are LOCAL and GLOBAL variables?



What are LOCAL and GLOBAL variables?..

Answer / guest

Local variables lifetime ends when the Procedure ends.
Global variables lifetime begins at the start of the script
and ends at the end of the script and it can be used by any
procedure within the script. Declaring a variable by using
the keyword PRIVATE makes the variable global within the
script, but if declared using PUBLIC, then all scripts can
refer the variable.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More ASP Interview Questions

What are the methods in Application Object?

2 Answers  


What are the stored procedure and why they are needed?

0 Answers  


What is asp full form?

0 Answers  


How do I convert an aspx file to pdf?

0 Answers  


What is pdf aspx?

0 Answers  


How we load the page in ASP?

0 Answers   HCL,


how to implemet online examination in asp.net

0 Answers  


can we place Global.asa into "bin" directory instead of Root directory?

3 Answers   Satyam,


Define application object in asp?

0 Answers  


How do I save asp file in notepad?

0 Answers  


how to configure asp.net website in vs2008. and the projects devoloped in 2005 can be run in 2008

0 Answers  


SAP Design Studio Reporting Tool for beginners

1 Answers   SAP Labs,


Categories