For the following declarations: int *xPt, *yAddr; long *dtAddr, *ptAddr; double
ID: 3644091 • Letter: F
Question
For the following declarations:int *xPt, *yAddr;
long *dtAddr, *ptAddr;
double *ptZ;
int a;
long b;
double c;
Determine which of the following statements is valid:
a. yAddr = &a;
b. yAddr = &b;
c. yAddr = &c;
d. yAddr = a;
e. yAddr = b;
f. yAddr = c;
g. dtAddr = &a;
h. dtAddr = &b;
i. dtAddr = &c;
j. dtaddr = a;
k. dtAddr = b;
l. dtAddr = c;
m. ptZ = &a;
n. ptAddr = &b;
o. ptAddr = &c;
p. ptAddr = a;
q. ptAddr = b;
r. ptAddr = c;
s. yAddr = xPt;
t. yAddr = dtAddr;
u. yAddr = ptAddr;
Explanation / Answer
a. yAddr = &a; h. dtAddr = &b q. ptAddr = b;