Opening the book…
float *fptr;
c is an unsigned character, an eight bit (one byte) variable. p is a pointer to an unsigned character meaning that it contains the address of a variable which is an unsigned character (such as c). p could be two, four or eight bytes in size, depending on the operating system.
& is the “address of” operator. It returns the address of the associated variable. * is the dereferencing operator. It returns the value which is at the memory address referenced by the associated variable.
This multiplies b by the value referenced by c (i.e., c is a pointer). It may be more clear to show the pointer dereference explicitly:
a = b * (*c);
This page titled 31.4: Chapter 8 was last modified on Wed, 08 Sep 2021 02:57:24 GMT and is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by James M. Fiore via source content that was edited to the style and standards of the LibreTexts platform.
The book could not be loaded just now.