Which of the following assigns to p1 the pointer to the address of value?

a. *p1=&value;
b. p1=value;
c. p1=&value;
d. &p1 = *value;

c. p1=&value;

Computer Science & Information Technology

You might also like to view...

Once a window has been created the title cannot be changed.

a. true b. false

Computer Science & Information Technology

Given the Java statement

sum = number1 + number2; which of the following statements is false? a. It’s an assignment statement. b. It calculates the sum of variables number1 and number2. c. The operands of the addition operator are number1 and number2. d. It assigns the value of number1 to sum.

Computer Science & Information Technology