C declarations

J. Shapiro jss at sjuvax.UUCP
Tue Feb 5 17:17:49 AEST 1985


[Aren't you hungry...?]

	My recollection from K&R is that in practice, strings and arrays of
characters are supposed to behave the same way. Yet we all know this isn't
true, and that some functions (e.g. strcpy) don't work right on one but
work fine on the other.

	Is there a real reason for this, or did it just happen that way?



More information about the Comp.lang.c mailing list