Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
using register will give you access to register memory (store your variable in register) so you got a way much more faster for frequently access to it, usually compiler will choose to store type/place during its code optimization but using the keyword will override compilers code optimization. you should be looking into you compilers variable storage class
static, depends on where you use, for method-function-variable ... to say simple: I don't understand it well! , but what I have seen so far
for variables, if you nest it on highest access possible place, it will act like global and if nested in class type, then you are sharing it true all objects created from it,using one value others will be reference, or when in local scope, will allow local variables to retain their previous value on re-entry to block of code.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.