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 |
why three pick-up tubes are provided in a clour camera?
Indicate the various quantities that can be measured with a multimeter.
how does polarised capacitor works?at which situation in circuit it is used
what is code vector?
Which type of charges present on the two opposite faces of the junction?
What is Banked Register in Arm 7?
what is the different between gsm and cdma?
What is meant by sequence control of ac voltage regulators?
in 8051 microcontroller port0 has no internal pullup why?
what is a static variable...wht is the size when u give sizeof(struct)
what are software interrupts present in 8051 Microcontroller? Only Software interrupts//////
describe the functioning of parallel adder ? what are the adventages of parallel adder over series adder?
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)