FILE *open
and
FILE * open
are same thing. Space between * open makes any different?
FILE *open
and
FILE * open
are same thing. Space between * open makes any different?
same thing, no difference.
If you do this
int* ptr, var;
you might be tempted into thinking that var was a ptr to an int (it isn't).
int *ptr, var;
Would make it clearer that the 'pointer' belonged to the ptr variable only, and not to var.
On the other hand, it's worth noting that mixing declarations like this is poor style to begin with. The amount of effort it saves is much less than the confusion it can cause.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.