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
What are the functions to open and close file in c language?
What do the functions atoi(), itoa() and gcvt() do?
What is the use of a semicolon (;) at the end of every program statement?
what is use of malloc and calloc?
What are the advantages of c language?
What are reserved words?
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
When should structures be passed by values or by references?
What is the use of extern in c?
What are qualifiers?
Why enum is used in c?
Explain the difference between structs and unions in c?
Is that possible to add pointers to each other?
What is sizeof int?
What is the difference between arrays and pointers?