TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Tom Torfs
from: Kurt Kuzba
date: 1998-10-04 05:26:42
subject: Tutorial questions?

TT> JG>   A const uses no memory. It's nothing more than a
TT> JG>   symbol used to make the source more readable and/or
TT> JG>   less prone to errors.
TT>   You're wrong there. A const variable *in C* does require
TT>   storage space.
   Not if you confuse it with a #define value! :)
   Of course, that's not really fair, either, since the value
   set by the #define statement still takes space in the program
   since it goes directly into the code as an absolute value at
   compile time, the same as a macro would, being placed into
   the source by the precompiler.

> ] I am Solo of Borg, and I've got a bad feeling about this....

---
* Origin: *YOPS ]I[* 8.4 GIG * RA/FD/FE * Milwaukee, WI (1:154/750)
SEEN-BY: 396/1 632/0 371 633/260 267 270 371 634/397 635/506 728 810 639/252
SEEN-BY: 670/218
@PATH: 154/750 222 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™.