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
For how much time F-1 vissa is valid?
two progress are given. one starts counting from 0 to MAX and the other ?
IN WCDMA(WIDE CODE DIVISION MULTIPLE ACCESS)WHICH ONE FREQUENCY HOPPING IS USED EITHER FAST FREQUENCY OR SLOW FREQUENCY HOPPING,SAY IN DETAILS
Can we get light when the circuit is working?
write a program which calculates the frequency of a number between n maximum number
Sir, I wish to appear for the written test in the year 2009. But i have no syllabus on the basis of that the exam was held. So if you kindly give me the syllabus,it's easy for me to be prepared. I have already registered through online,and that no is 10857
What are digital electronic flip flops?
How to calculate the rectangle of conductor of different sizes?
What is the effect of polarization of dielectric under heat?
The loss of precision in quantity is called A Down time B Delay C Unavoidable delay D None of these
types of communication scheme in power plant ?
What is the difference between masking and non-masking?
How are electrons in an atom visualized?
What is WPS?
Can u please post some questions of MTNL junior telecom officer exam?