On 9 mar, 18:26, Richard Heathfield <r...@see.sig.invalid> wrote:
> obvious counter-example - it's a pointer, but not a variable.
And what is a variable ? The Standard doesn't define this term, and,
in fact, doesn't use it (except for rare examples or footnotes).
However, K&R2 heavily makes use of it, i found about 300 instances of
the strings "variable" and "variables". Alas they didn't worry about
giving a definition of the term "variable". The result is some
conflicting sentences, for instance (§5.2 about pointers and arrays) :
"the value of a variable or expression of type array is (...)"
versus
"But an array name is not a variable;"
So please, will you explain what do you mean by this term ?
|