``Constants'' in case

Mens Sana in Campari Soda matt at oddjob.uchicago.edu
Sun Oct 1 04:12:08 AEST 1989


igb at fulcrum.bt.co.uk (Ian G Batten) writes:
) >``is (int) constant a constant?''

henry at utzoo (Henry Spencer) writes:
) In K&R1, the list of operators allowed in constant expressions did not
) include casts.  This was probably an oversight

If you're thinking of buying any book on C, look to see how they define
"constant expression".  I looked in the local bookstore here and found a
number of titles such as "Absolutely complete ultimate C book!" which
either did not define the term at all or simply defined it as "any
expression involving only constants."   Bah!
________________________________________________________
Matt Crawford	     		matt at oddjob.uchicago.edu



More information about the Comp.unix.wizards mailing list