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
Sks Microfinance
what is bidirectional?
What are the frequently asked questions for interview in capital iq company ?
what is the use of air in gc
Danlaw placement questions and answers
A frog wants to climb a pole which is 15 feet in height, frog can jump 3 feet every minute after which he rests for a minute where he slips down 2 feet. How much time will the frog take to reach the top of the pole?
what is difference between uv and visible spectroscopy and how to differentiate the drug compounds in uv visible region
Do we have vacancy for HR RECRUITER ?
Zero setting of sejong rottary press
printf("%d",printf("%d",printf("%d",printf("%s","ILOVECPROGRAM")))); whats the output
my question is : reverse a string in COBOL program (please write a code asap) input file: 1234abcdef output file: 8765_____ abc*$#1___ 1_2_3_4__ cdef____ghi h_k_z_a__ a_z_k_h___ ihg____ghi 4_3_2_1___ 1#$*cba__ ______5678 fedcb4321
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
how did you celebrate your last birthday?
email me previous question papers of bob bank for po exams
Recently conducted Apptitude test