What is the difference between a local and a global variable?

Answer Posted / l.pandiyan

A global variable can be accessed by all functions. It is
initialized at the beginning of the program and is deleted
when the program shuts down. A local variable is isolated in
its function.

Is This Answer Correct ?    70 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I start sql server?

529


How to download and install microsoft sql server management studio express?

559


you notice that the transaction log on one of your databases is over 4gb the size of the data file is 2mb what could cause this situation, and how can you fix it? : Sql server administration

540


What are scalar functions?

499


Can you leave a union at any time?

532






What is data source document?

544


How sql server enhances scalability of the database system?

583


You accidentally delete the msdb database what effect does this have on your existing sql databases, and how do you recover?

543


How to create a testing table with test data in ms sql server?

554


What is spatial and temporal data?

532


What is cursors? And what are the different types of cursor?

553


Do you know what are acid properties of transaction?

519


What is a DBMS, query, SQL?

575


What is difference between foreign key and unique key?

546


What is the difference between migration and upgradation in sql server?

602