Clarification needed on Pointers/Arrays
der Mouse
mouse at mcgill-vision.UUCP
Thu Mar 9 21:43:01 AEST 1989
In article <890 at acf3.NYU.EDU>, sabbagh at acf3.NYU.EDU (sabbagh) writes:
> [Thus] something like
> int a[10],b[10];
> a = b;
> is easy enough to interpret as array copy, but it be a "high-level"
> construct that is not found in other semnatic areas of C.
Other areas like....
struct foo a, b;
a = b;
for example? I see no essential difference, except for the weight of
history: arrays have always been converted to pointers in expressions,
therefore they always must be. (No similar requirement ever existed
for structs, of course.)
der Mouse
old: mcgill-vision!mouse
new: mouse at larry.mcrcim.mcgill.edu
More information about the Comp.lang.c
mailing list