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
how to charge for Annual Maintanence
What is auadag?
What is natural commutation?
What is meant by radix (or base) of a number system?
which taype question pattern in hr round in telecom feild.
Explain what are semiconductor devices?
i have a problem in programming using string program is- rajasthan rajasthan rajastha ajasthan rajasth jasthan rajast asthan rajas sthan raja than raj han ra an r n plz reply soon as posible as
In what does the Gas Leds emit radiation?
Please send me RRB Bhopal last 5 years solved Question paper on amrita_jain2001@yahoo.com
Serial to parallel conversion is done by ?
What is the importance of if in radio receiver?
What is the difference between leds and pn junction diode?
I am b.tech graduate in ECE, and looking for a linux server admin course. Will that be beneficial for me. Or shall I opt for any other course like software testing? Please suggest me.
I am importing dc-dc converters from singapore to india. how much tax will be applicable towards Custom duty.and the rates of the custom duty.
What is load commutation?