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 |
hello, i have applied for PO Post.i m so confuse about ques.which type of question u wil ak in interview. i m engg. in electronics & comm. plz tel me
what is the SKIN effect in a condactor and how can be decrease??????
What are the important ic technologies used?
if i get a job in bsc .what are the main key duties to handle
5. What is the maximum transmit power of FlexiEdge BTS
Explain what is a state table?
what is the meaning of crest factor
Explain why an ordinary transistor is called bipolar.
Draw the equivalent circuit of triac and diac.
why do we need time domain & frequency domain.Differentiate between them.
What is hole theory
what is race aroun condititon in flip flop