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
What's the information that can be stored inside a bit column?
let's assume you have data that resides on sql server 6.5. You have to move it sql server 7.0. How are you going to do it? : Sql server database administration
Why can there be only one clustered index and not more than one?
what is blocking? : Sql server database administration
Explain having clause?
Explain the use of containers in ssis and also their types?
How many types of database relationship in sql server?
Your company has 50 branches all over the country all the branches, including the head office have sql server as the database every night all 50 branches upload certain information to the head office which replication topology is best suited for the above scenario?
What is sql collation?
How to encrypt data between dialogs?
which table keeps the locking information? : Sql server administration
What is a transactions?
What is optimization and its types?
create index myindex on mytable(mycolumn) what type of index will get created after executing the above statement? : Sql server database administration
Do you know how to implement service broker?