initialization
rpjday at ccu.umanitoba.ca
rpjday at ccu.umanitoba.ca
Wed Aug 1 11:16:54 AEST 1990
I would like to know the official behaviour of the following
initialization code, which seems as if it should blow up one way
or the other:
int func(int a)
{
int i = a, j = i + 1 ;
Am I allowed to initialize the integer "j" with the value of
another variable initialized in the same line? What if I put
the two definitions on separate lines?
Thanks for any info.
R. Day
U of Manitoba
More information about the Comp.lang.c
mailing list