how many types of storage classes in c and embedded c
Answers were Sorted based on User's Feedback
Answer / sp
in c .
they are 4 storage classes
they are given below
1. auto
2. register
3.static
4. extern
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / 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 |
what are the jobs that SBI will provide for ECE students
hav u ever visited BTS site during ur industrial training
What is the difference between circuit switching and packet switching?
Why the input impedance of OP-Amp is so high?
What is full-adder?
What is the protocol in PLC
how either analog or digital transmitted through fiber optic cables in the form light signal?
how can we increase back up of 300ah battery.can we connects one more 300ah parallel or series?
Tell me why the feeding frequency to a microprocessor is twice the operating frequency?
what is the difference between electronics and electricals?
Which one of the following polarization mechanisms/sets of mechanisms contribute to the static dielectric constant of a homopolar neutral dielectric?
importance of defining tg or tf in selecting master and slave bts's?
Civil Engineering (5086)
Mechanical Engineering (4453)
Electrical Engineering (16638)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)