How do you declare static variable and how it is declared
and what is its lifetime?

Answer Posted / firoz ahmed

Static variable are declared within the procedure.
and it preserves the value of variable.whether is
called 10000 times.no problem.

Is This Answer Correct ?    12 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is enumerator?

569


write a program to develop a graphic user interface application of marks book with students names and their names.the program should show the following options main menu,add student details,display student details,maximum mark and minimum mark.

1177


what is commom language runtime?

553


Explain about jagged arrarys ?

510


How to create a constant in vb.net?

599






What are option strict and option explicit?

792


What is the difference between import system.data.sqlclient and system.data.oledb?

508


Which is the base class for all the classes in .net framework?

565


What is code access security?

686


Explain the advantages of migrating to vb.net?

507


What is public assembly?

568


What is an assembly and its use?

546


Explain and brief about rapid application development tool?

588


what's ArrayList in .Net (VB.Net or C#).What's the advantageous using ArrayList.

565


what is difference between namespace and assembly?

536