37.4k views
0 votes
write declarations for variables p1 and p2 whose values will be addresses of memory locations in which a double can be stored

1 Answer

4 votes

Answer:

double * p1;

double * p2;

Step-by-step explanation:

A pointer is a variable that holds the address location of other variables. It is defined with the asterisk character in the middle of the variable type and name.

The p1 and p2 pointers above are pointers that hold the memory addresses of two different double or float point numbers.

User RjOllos
by
6.9k points