| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Tutorial questions? |
> 1) What is the difference between "static int
> answer=45" and
this declares static storage for the integer identifier answer. Implicitly
answer is a variable intialised to the value 45. It will not be stored on
the stack, but at a static RAM address.
> "const int answer=45"?
this declares the identifier answer to be a constant integer with a
permanent value of 45. Implicitly answer is not variable. It may be stored
in ROM if available.
> If I'm reading it right,
Your question makes me doubt it. :-)
> 2) I understand what a Shift left(<<) and Shift right
> (>>) does,
a< Thanks,
You're welcome.
Bill.
---
* Origin: Meerkats Anonymous (2:2504/200)SEEN-BY: 396/1 622/419 632/0 371 633/260 267 270 371 634/397 635/506 728 810 SEEN-BY: 639/252 670/218 @PATH: 2504/200 213 255/3 1 251/25 396/1 633/260 635/506 728 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.