[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.
Technical Discussion :: C
Home > Technical Interview Q&A > C > Discussion

17 / 123

What is scope & storage allocation of register, static and local variables?

Answer:

Register variables: is the register storage class and are stored in the CPU registers.
The scope of the register variables is local to the block in which the
variables are defined. The variables which are used for more number of
times in a program are declared as register variables for faster access.

Asked In :: TCS

Post Your Answer Here:


Rate This: +0 -0     
Report    

Post Your Reply Here:

Alert me
q4i-reply-your-answer

Report Error

Please Login First Click Here

Most Popular Qs.