Answer the following questions true (T) or false (F)

1. One can use the & operator to extract the value that a pointer points to.

2. When declaring several pointer variables, there must be one pointer declarator * for each pointer variable.

1. False
Explanation: The operator is the dereferencing operator, *. This says “follow the pointer to the storage place” or “the variable pointed to by …”
2. True
Explanation: Consider this definition of p1, p2 and p3 as pointer to doubles:
double *p1, *p2, *p3;
There must be one * for each pointer variable defined.

Computer Science & Information Technology

You might also like to view...

A user accidentally saved a file lo a network drive. Which of the following can be used to display which network drives are mapped?

A. NETSTAT B. NET C. IPCONFIG D. NSLOOKUP

Computer Science & Information Technology

Which of the following jQuery events is triggered when a form element receives focus?

a. focus out b. focus c. hover d. focus in

Computer Science & Information Technology