Why static variable is used in c?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

what is event driven software and what is procedural driven software?

0 Answers  


Write a C program that defines a 2-dimentional integer array called A [50][50]. Then the elements of this array should randomly be initialized either to 1 or 0. The program should then print out all the elements in the diagonal (i.e. a[0][0], a[1][1],a[2][2], a[3][3], ……..a[49][49]). Finally, print out how many zeros and ones in the diagonal.

3 Answers   Infosys,


how to find the size of the data type like int,float without using the sizeof operator?

13 Answers  


Give the rules for variable declaration?

0 Answers  


How can I do graphics in c?

0 Answers  






Write a program to enter the name and age. If age>28 then find salary categories. if age<28 then find that you are gaduate or not.

1 Answers  


difference between string and array?

6 Answers  


program to find the ASCII value of a number

8 Answers  


Why main is not a keyword in c?

0 Answers  


Why can't I perform arithmetic on a void* pointer?

0 Answers  


What is sizeof int?

0 Answers  


c program to compute Income tax and Net Salary for its employees. The company offers tax relief of Kshs. 650 for single employees and Kshs. 1,100 for married employees. The relief will be deducted from the Gross salary, to give the taxable income. This will be computed at the following rates: [10mks] Taxable Income Rate (%) <5000 0 5000-19999 6 20000-36999 9 37000 and above 16

1 Answers  


Categories