What is the difference between a local and a global variable?
Answer Posted / rahul
Local Variables are declared within the function main.
main()
{
int a,b,c;(local variable declaration)
}
Global variables are declared outside the function main.
int FACT(int);
main()
{
Local variable declaration;
}
Is This Answer Correct ? | 128 Yes | 16 No |
Post New Answer View All Answers
Do you know concepts and capabilities of sql server?
Is it possible to call a stored procedure within a stored procedure?
what is a deadlock? : Sql server database administration
What is extended stored procedures?
How many databases instances are there in sql server 2000?
What is difference between commit and rollback when used in transactions?
How to query multiple tables jointly?
how to define testing of network layers? : Sql server database administration
Where actually sql azure database is hosted?
What is merge replication?
Which language rdl files made of?
What is the use of custom fields in report?
Which is faster statement or preparedstatement?
What is log in sql server?
Any one plz send me SQL Server Developer/DBA resume for 4 years experience