robinbloke: (Default)
robinbloke ([personal profile] robinbloke) wrote2006-07-25 10:12 am
Entry tags:
ext_8103: (Default)

[identity profile] ewx.livejournal.com 2006-07-25 09:27 am (UTC)(link)
The semantics are identical. The 'char* fred' version breaks horribly when you try to express anything more complicated a single, simple, declarator within a given declaration (and also implies ignorance of the logic behind C's declarator syntax).

[identity profile] duncanneko.livejournal.com 2006-07-25 09:38 am (UTC)(link)
Well, I was right about being Wrong ;) I was vaguely aware of the

char *a, b, *c;

business but never got as far as writing anything like that myself anyway. I just work on my own (flawed) parsing of 'char[ ]*' into english.