Accenture Technical Interview for Experienced in c++ --- Hyderabad
Answer Posted / abhishek rajan
There four kind of storage classes.
auto(stands for automatic)
static
extern
register
when we declare any variable using auto
eg:
auto int x;
or
int x;
then the scope of the variable will be local.
when we declare any variable using static
eg:
static int x;
then the variable with sustain with that assigned value.
extern is used for the global declaratioin.
register; when this storage class is used
eg:
register int x;
then the value of the variable is going to be stored
directly in the register.
but the register should be free to hold the content of x,
otherwise it will be considered as the variable has the
storage class auto.
| Is This Answer Correct ? | 20 Yes | 4 No |
Post New Answer View All Answers
Hi.. Guys Im pranitha, presently im working in a organisation & im look for job at MNC's like DELL, Delloitte, Bank of America, Genpect, etc., I have completed B.com . Pls help me...
my question is : reverse a string in COBOL program (please write a code asap) input file: 1234abcdef abc*$#1___ cdef____ghi a_z_k_h___ 4_3_2_1___ ______5678 output file: 8765_____ 1_2_3_4__ h_k_z_a__ ihg____ghi 1#$*cba__ fedcb4321
printf("%d",printf("%d",printf("%d",printf("%s","ILOVECPROGRAM")))); whats the output
speak 1min on topic Travelling,memorable moment ,memorable day?
what you will do when you struck in traffic ?
HI SIR I WANT PREVIOUS QUESTION PAPER OF HPCL I M CHEMICAL ENGG.
why didn't get placed so far?
Sks Microfinance
Danlaw placement questions and answers
Zero setting of sejong rottary press
your project to describe and tell about : 1. My favorite things 2. My favorite places at home 3. Animals *Choose one of them to describe *Write on your paper *If you done, Send me *Did you get it
what is the use of air in gc
how did you celebrate your last birthday?
what is difference between uv and visible spectroscopy and how to differentiate the drug compounds in uv visible region
What kind of Issues/bugs arise in ETL projects? I would like to know few issues (critical to somewhat bugs ) normally occur in ETL process especially when testing? Domains can be banking, retail or any.