Quiz for Novice to Intermediate C Users
Jan Steinman
jans at mako.UUCP
Sat Apr 20 05:53:10 AEST 1985
In article <646 at dataio.UUCP> buls at dataio.UUCP (Rick Buls) writes:
>foo()
>{
> int a,b,*p= &a; /* p points to a */
>
Automatics cannot be initialized this way, and I don't believe the comment
would be correct if they could. Perhaps:
int a, b, *p;
p = &a;
is what was intended? Perhaps I'm missing something?
--
:::::: Jan Steinman Box 1000, MS 61-161 (w)503/685-2843 ::::::
:::::: tektronix!tekecs!jans Wilsonville, OR 97070 (h)503/657-7703 ::::::
More information about the Comp.lang.c
mailing list