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

What is meant by errors and debugging?

649


How can I do peek and poke in c?

621


how do you execute a c program in unix.

636


What are the types of i/o functions?

683


What does p mean in physics?

585






What is difference between stdio h and conio h?

888


What are pointers? What are stacks and queues?

580


Why malloc is faster than calloc?

592


Write a program to print fibonacci series using recursion?

586


What is the use of gets and puts?

604


Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

604


write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list

2238


What is spaghetti programming?

670


Explain union. What are its advantages?

619


What does c mean in standard form?

599