what are the stoge class in C and tel the scope and life time
of it?
Answer Posted / anudeep gongadi
1.automatic: the scope is within the function
2.extern: if variable is declared with extern, then that
variable is there in another program.and it can be used in
current program.
3.static: they are initialised only once.
4.register: limited memory is reserved for registers.
for faster access off data and computations, we mae use of
registers.
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?
What is the translation phases used in c language?
write a program to create a sparse matrix using dynamic memory allocation.
Is it better to use a macro or a function?
What is return type in c?
What are valid operations on pointers?
When should you not use a type cast?
Explain how can a program be made to print the name of a source file where an error occurs?
What are the different types of data structures in c?
What is assert and when would I use it?
What are 3 types of structures?
How we can insert comments in a c program?
Why do we use int main instead of void main in c?
Is fortran faster than c?
What do you mean by dynamic memory allocation in c?