problems using sizeof()
Jeff Siegal
jbs at fenchurch.MIT.EDU
Sat Aug 20 18:50:46 AEST 1988
In article <8000001 at modcomp> joe at modcomp.UUCP writes:
>Jeff Siegal (jbs @ fenchurch.mit.edu.UUCP) writes:
>>You can't tell the size of an object from a
>>pointer to it.
>
>Not true for Fortran 77. The semantics of the language require that the size
>of a character string argument also be passed to a procedure.
Did you READ my article? I made this exact point in the next
paragraph. More than just the pointer is being passed. The length is
being passed separately, although the language hides this. C doesn't
(have hidden arguments).
Jeff Siegal
More information about the Comp.lang.c
mailing list