Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is d pitfalls of registers variables

Answers were Sorted based on User's Feedback



what is d pitfalls of registers variables..

Answer / mohammed

Important pitfalls
Value of the variable stored in register of cpu not for memory

Is This Answer Correct ?    3 Yes 2 No

what is d pitfalls of registers variables..

Answer / arka bandyopadhyay

1-As the value of the register variable is to be stored under the processor register which is limited and if processor is of 16 bit we cannot store float values and higher data type values as 2pow(4bytes)=16bits which a 16 bit processor's registor cannot store hence the variable will now act as an automatic variable


2-Register might be busy in some other operation then also register might not be accessible and hence will act as an automatic variable

Is This Answer Correct ?    1 Yes 0 No

what is d pitfalls of registers variables..

Answer / kiran

As the no. of registers in a CPU are limited,we cannot declare many variables as register

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

how to generate the length of a string without using len funtion?

4 Answers  


Why do we need functions in c?

0 Answers  


Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]

0 Answers  


What is the difference between functions abs() and fabs()?

0 Answers  


What are the characteristics of arrays in c?

0 Answers  


How can you increase the size of a statically allocated array?

0 Answers   TISL,


What is Memory leakage ?

2 Answers   HCL,


Explain how do you sort filenames in a directory?

0 Answers  


What should be keep precautions while using the recursion method?

1 Answers  


program to get the remainder and quotant of given two numbers with out using % and / operators?

10 Answers   College School Exams Tests, IBM,


Which is better between malloc and calloc?

0 Answers  


Explain what is wrong with this statement? Myname = ?robin?;

0 Answers  


Categories