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
Instead of specifying SETUP and HOLD time, can we just specify a SETUP time for '1' and a SETUP time for '0'?
Wht is meant by booy strap?
Explain to find conductivity?
How many RRI we can use in One BTS?
For explain what vertical and horizontal plates are provide in a cro?
How the trx is assigned to e1 channel?
What is input offset voltage?
Explain why is an excess-3 code called an unweighted code?
wat should be the main steps for qualifying gate.
What are the KPI that decides the capacity expansion of SGSN/MME?
Which type of connector we use in FIFA card?
What is a full-adder?
why should moser bear india hire you?
What is ascii in reference to electronics?
Any idea of BSNL, JTO paper?