4 ms·
The same reasoning applies to function declarations returning pointers: int *f(void); // "*f()" returns "int" and "f()" returns "int *" My habit is to alw
by bluetomcat 10y ago
The same reasoning applies to function declarations returning pointers:
int *f(void); // "*f()" returns "int" and "f()" returns "int *"
My habit is to always put a space between the type and the asterisk, regardless of whether there is an identifier:
sizeof(int *);
x = (char *) y;