In the C++ book I am reading. It gives the syntax for initialisation as
int *pInteger = NULL;
However it also showed the following as an example
int Age = 30;
int* pInteger = &Age;
Why is there a discrepancy? i.e. * after the int and * before the pInteger. Is the following correct?
int Age = 30;
int *pInteger = &Age;