I have the following structure
typedef struct _LSHFunctionT
{
double *a;
double b;
} LSHFunctionT, *PLSHFunctionT;
My question is; is there a difference between these two declarations
PLSHFunctionT myPointer1;
and
LSHFunctionT *myPointer2;
and if not, then why do people explicitly use two of them (LSHFunctionT and *PLSHFunctionT). Why not just use LSHFunctionT.
Does it go the same way for the following two declarations
PLSHFunctionT *myPointer3;
and
LSHFunctionT **myPointer3;