Problem 1: Solution
Problem 3: Solution
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
p could be two, four or eight bytes in size, depending on the operating system.
Problem 5: Solution
& 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.
Problem 7: Solution
b by the value referenced by
c is a pointer). It may be more clear to show the pointer dereference explicitly:
a = b * (*c);