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
How to count groups returned with the group by clause in ms sql server?
what are the different ways to return the rowcount of a table?
How to define output parameters in stored procedures?
How to list all schemas in a database?
Why variables called the most powerful component of ssis?
Where are stored procedures in sql server?
What is the order in which the sql query is executed?
How to change a login name in ms sql server?
What is an example of a foreign key?
Can you please explain the difference between primary keys and foreign keys?
How to connect php with different port numbers?
Which are the third-party tools used in sql server and why would you use them?
What are different backups available in sql server?
Explain different backup plans?
What is the difference between clustered and non-clustered indexes in ms sql server?