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


Please Help Members By Posting Answers For Below Questions

Does c have enums?

590


What is the difference between printf and scanf )?

581


Explain what is the difference between null and nul?

644


any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above

637


What is return type in c?

633






What is c mainly used for?

587


Explain what is the difference between text files and binary files?

604


praagnovation

1767


Which one would you prefer - a macro or a function?

591


Write a program to generate the Fibinocci Series

650


Are bit fields portable?

666


What is the purpose of the statement: strcat (S2, S1)?

635


is it possible to create your own header files?

629


Describe static function with its usage?

600


What is the scope of local variable in c?

567