¿Por qué el asterisco en una declaración de puntero es específico para el identificador y no el tipo de datos?
Pregunta tonta, pero tratando de comprender la mecánica / filosofía subyacente para solidificar mi comprensión.
int myInt; // declares a variable of type integer, named myInt. Intuitive.
int* myPtr; // declares a variable of type pointer-to-integer. Also intuitive.
int myInt2, myInt3; // two more integer variables.. yay!! This makes sense.
// so the pattern is [type] [identifier] <,more-identifiers>;
int* myInt4, myInt5; // an int pointer then an integer. Brain hurts!