![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Global variable declaration in shell scripting | susilgandhi | Shell Programming and Scripting | 1 | 02-05-2008 09:59 PM |
| Array Declaration and For Loop | 33junaid | Shell Programming and Scripting | 4 | 09-15-2007 01:16 PM |
| awk field declaration?? | tonet | Shell Programming and Scripting | 1 | 09-12-2007 05:23 AM |
| double variable declaration | kotasateesh | Shell Programming and Scripting | 3 | 08-31-2007 02:29 AM |
| Help with variable declaration | dsravan | Shell Programming and Scripting | 1 | 12-08-2006 12:15 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
what does this mean when a variable is declared as
Code:
register int i; |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
It was a hint to older compilers that i might profit from being assigned to a register. Modern compilers will figure out what to do.
Also you can't take the address of a variable declared to be register. |
|
#3
|
|||
|
|||
|
Thanks for the info.
|
|||
| Google The UNIX and Linux Forums |