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 |
i have been filled the form of AIRPORT AUTHORITY OF INDIA for ATC & ELECTRONICS but this is may i did'nt got exam date .when it will conduct.
What is the simplest way to maintain the "power factor" of any system? if you have many methods specify all!
What type of questions are asked in Tetra pak onlinr test
Explain what are the two mechanisms of breakdown in a p-n junction?
what is the function of solid state relay (SSR)
The output of a 60hz full-wave bridge rectifier has a 60 hz ripple. It this circuit working properly?
what is mean by regulation?which component used?
Write down the expression for average output voltage for step up chopper?
What is PLC ? How it is useful in automations ?
State the differences between a flip-flop and a latch?
Why ce configuration is most popular in amplifier circuits?
what is OpenBTS?
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
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)