what does static variable mean in c language?



what does static variable mean in c language? ..

Answer / Suresh Prasad

In C language, a static variable is a variable that maintains its value between function calls. It has storage duration for the lifetime of the program (unless explicitly declared as static within a function, in which case it retains its value only during that particular function call). Static variables are initialized to zero by default if not explicitly initialized.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Engineering AllOther Interview Questions

Proove it 3+4=5

2 Answers  


What are the features of tata nano , technical specification of tata nano, overview of tata nano, varients of tata nano, price of tata nano, dealers of tata nano, expectation from tata nano, criticism of tata nano, tata nano hybrid ?

0 Answers   TATA,


Explain what is meant by repetition of information and inability to represent information. Explain why each of these properties may indicate a bad relational database design.

2 Answers  


sir , i am prparing for IOCL engineergin post please send me the old placement papers

0 Answers   IOCL,


What Embedded System ? Which is the best embedded training institute in Chennai?

1 Answers  


Briefly describe an experience of yours that illustrates your ability to clearly articulate and explain technical issues in a nontechnical manner

1 Answers  


plz snd me sbi probationofficers papers to my id archpa@gmail.com

0 Answers  


What is your happiest moment in your life

0 Answers  


A company canteen needs an automated system for its food and beverage management. The canteen receives food and beverage items from different distributors. All the non perishable items are stored in the store-room and the perishable items are put in the fridge. The manager should be able to add, delete or update food and beverage items onto the system and perishable and non perishable item details are to be stored separately. Both waiters and the cooks should be able to update the perishable items, but only the cooks should be allowed to update the non perishable items. Both cooks and waiters are not allowed to add or delete any items that are entered. identify the Schema, Table , Fields

1 Answers   Accenture,


What are special features of Silk Test ? In what way it is advanced than QTP?

1 Answers  


How I can write a java program output the following 1+2+4+7+......N

1 Answers  


why do we join in bpo?

1 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5086)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4453)
  • Electrical Engineering Interview Questions Electrical Engineering (16638)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)