Re: Why C dont allow the name of a variable start with a digit?
Chris McDonald said:
<snip>
>
> The question was actually about *starting* with a digit,
> which doesn't necessarily imply consisting *only* of digits.
Yes, I know, but I figured (correctly, as it turns out) that using an
all-digit example would bring the point home to the OP very quickly.
> But what about: long int 42L = 6;
0X0 also springs to mind.
Forgive me - this is supposed to be a non-commercial channel.
0x20.
There - that's better.
--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
|