adspace


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


Please Help Members By Posting Answers For Below Questions

hi i am electronics & telecomm engg & appling 4 the AAI jr executive (electronics/ATC) written test. pls forward me the syllabus & old question papers.I will be very much thankful to you. pis inform to venkatesh.muddana86@gmail.com

2167


i am an i.t.i holder in electronics i need those questions and their which have been asked in aircraft company for the post of technician

5484


hai i am balaji now i applied for the post of section engineer in rrb chennai............ if any body know the question peper and pattern of written exam please send to me

2052


can u send me ttq upto 2008 on my email id pooja_bora18@yahoo.com.sorry for the trouble.

2024


please send the last 5 years {{{JUNIOR ENGINEER - ELECTICAL, ELECTRONICS RRB CHENNAI}}} TECHNICAL question papers TO MY EMAIL ID megalasri@gmail.com I AM BE APPEARING STUDENT CAN I FILL THE FORM OF SECTION ENGG i have to face written test of rrb for the post of J.E (signal), so please send me the old/model question papers for this post to my e-mail ? electronics).for tecnical test question which book is preferred. Railway recruitment board (Changighar examination 2006 & 2005&2004 question papers. Wtion to Your Friend] RRB examination.so which book I have to refer?

2184


hi.i m priya ,got shortlisted for syndicate bank po interview.When can we expect the interview to happen? n wat shud we our main focus while preparing 4 it.....need to revise btech subjects??Do they expect much for Banking Terminology.plz provide me someuseful links in this regard.my interview on 25 sep , plz send the interview details ,who are all before going to attend the interview ,,,it will be very useful for me .. thanks Priyasambanthar@gmail.com

1904


please send me rrb gorakhpur je teli question paper

3802


hello sir, could u plz send me a sample placement paper for hpcl trainee engg exam..(electronics stream)...hoping to hear from u at the earliest. Thanking you.

1989


Explain the approximate cost of the following corrosion monitoring systems. Smart pebbles eci-1(embedded corrosion instrument) monitoring cables time domain reflectometry &corrosion penetration monitoring system(cpmp)?

1102


can anyone provide apgenco previous question papers and materials to this id balarajyarajala@gmail.com

2489


Hai Frds, i want to join in testing tools course, pls sugest good institute. And pls tel about Mind Q institute & phone num of Nareswar Roa sir plss, ple mail me plssssss

1938


sir,did u send me hpcl syllabus for engg. disiplience & previous year

2138


i want to know the rrb section engg. the question paper also with interview questions.pls mail me at shekharmunna130@gmail.com

1897


Explain the approximate cost of the smart pebbles eci-1(embedded corrosion instrument)?

1014


please somebody who have asked questions related to electronic and communication eng siemens 2010-2012 post here

2005