how many types of storage classes in c and embedded c
Answer Posted / anoop r.s
There are 4 storage classes in C.
The storage classes are used to specify the scope of a variable
The storage classes supported by C are
1.automatic storage class:-All variables declared inside a functions are automatic by default.It is represented using the keyword auto.If not assigned,it will be initialized with garbage values
2.static storage class:The variable declared as static will be accessible to all the functions inside the programs.The keyword used is static>these variables are initialized to zero if not assigned by the user
3.Register storage class:The are the variable that are frequently used in a program.Instead of storin in RAM,there variables are stored in registers.No immediate addressing can be used with these variables
4.Extern storage class:These are the variable declared in one program and can be used from other program
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the methods of reduction of harmonic content?
Explain what is an asic?
What is tristor?
What is a feedback? And explain different types of feedback.
define state space?
how a choke of tubelight can be used to increse reciving power of antina?
What is the difference between CAT 5e communication cable & CAT4 Communication cable
How to identify how many states the ripple counter is having by looking at the figure as it can also have some invalid states?
Explain what are the two mechanisms of breakdown in a p-n junction?
What is the difference between circuit switching and packet switching?
What is an alphanumeric code?
What are different categories of antenna?
i am kvsivanarayanareddy . i work in mnc company in engineering job. i completed B.Tech in electronics &communication , i want to prepare group 2 exams in ap. pls give me suggetion for preparing group, how iwill start preparation pls send to my mail .which topocis i will concertrate . how i will reach my goal pls suggest to my question.
What is a bjt? What are its advantages and disadvantages?
What is boolean algebra?