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
what are the need of satellites in telecommunication. if satellite no means how can we communicate with others?
plzz send in detail with answers of rrb section engineers model paper to my mail id sir.
Give the expression for the vco free running frequency.
Following is an NSAP of IS-IS, which is legal NET (When area number is 1)? 1) 47.0001.1921.6800.3025.01 2) 0001.1921.6800.3025.00 3) 47.0001.192.168.3.25.00 4) 0001.1921.6800.3025.01
What is band gap theory?
6. When Abis link is down, name the alarm that is generated at BSC
from 12v,100ma power supply how an i get 5v,1amp draw the power supply diagram
can you give me example of igbt drive circuit... i still not under stand how it can be design with certain equation using mathlab program...
Define the meaning of tristate signal in electronics?
When the two inputs of a multiplier are connected together, the device operates as a A Voltage doubler B Square root circuit C Squaring circuit D Averaging circuit
Noise with uniform power spectral density of n0w/hz is passed through a filter h (w) = 2 exp(-jwtd) followed by an ideal low pass filter of bandwidth bhz. What is the output noise power in watts?
Why bjt is known as current controlled device and fet is known as voltage controlled device?
Hello Can any body tell me the list of interview answers asked UMTS Planning and optimazation as i have interview today. Pla mail me on satish_jd2000@yahoo.com its urgent. Thank you
What are the disadvantages of bjt?
What do you mean by electronics? How is it different from electrical?