|
|
|
|
|
by deergomoo
976 days ago
|
|
I'm very much not a C programmer, but I've never understood why it seems far more common to write `float *foo` instead of `float* foo`. The "pointerness" is part of the type and to me the latter expresses that far more clearly. |
|
This declares two pointers to char:
This declares foo as a pointer to char, and bar as a char: We have created a trompe l'oeil by separating the * from the declarator to which it begins and attaching it to the specifier to which it doesn't.