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 am sudha..i am preparing for Appsc government polytechnic lecturers..anybody have previous papers pls send to my mail id..sudha.k402@gmail.com..
What is different between EPABX and PBX
what is the difference between c and c++
How to Create the Node file with 2 E1 (4+4+4) & EDAP.
why is BPSK better than BFSK in presence of noise
Hai Frds i want to join in testing tools course , plee tel me which was the Best institute, plsss reply me, i am waiting for ur reply....
Is fan out of ECL logic family is high?give reason for yes or no?
What is VSWR? what are waveguides and their types. What is Aloha? Shannon's information capacity theorem, Sampling theorem, antenna gain, types of antennae, GSM/CDMA comparison, modulation techniques, Superheterodyne receiver
what is call procedure?
In a bipolar junction transistor (take it an n-p-n BJT),,in comparison between EMITTER and COLLECTOR ,,who has higher negativity??
What is a soft starter
What is monotonic dac?