This is probably a religious question, but here goes:
SO, given the above, what is the general concensus about A vs B? Which way is the "right" way? Again, this is probably a religious discussion.Code:struct something { int x, y, z; } struct something *buf; ... A:printf("something about size of *buf %i.\n", sizeof *buf); B:printf("something about size of *buf %i.\n", sizeof(*buf)); ...
Andy