Get new post automatically.

Enter your email address:


Pointer declarations and expressions

Pointer declarations and expressions

It is only a half-truth that these two uses of the * character have nothing to do with each other.

The important point to come away with is that using the * character in declarations:
float *fptr;
is different from using it in expressions:
float fl;
...
fl=82.3 + *fptr;
From this perspective, the two uses of the * character have nothing to do with each other.