Is `char const *foo;' legal?

Ron Guilmette rfg at ics.uci.edu
Sun Jan 14 13:57:55 AEST 1990


In article <12570037 at hpclwjm.HP.COM> walter at hpclwjm.HP.COM (Walter Murray) writes:
>[Regarding a declaration like "const char bar[]"]
...
>Here are relevant sections from the Standard (quoting from the 12/7/88
>draft):
>
>The type of an array is defined by 3.5.4.2, page 68, lines 6-10.
>The inductive method used to define the type of a derived declarator
>can be a little confusing...

Yowza!

// rfg



More information about the Comp.std.c mailing list