Assume that an int variable diff has already been declared. Assume further a variable diffPointer of type “pointer to int ” has also already been declared. Write a statement that assigns the address of diff to diffPointer.

LANGUAGE: C++

CHALLENGE:

Assume that an int variable diff has already been declared. Assume further a variable diffPointer of type “pointer to int ” has also already been declared. Write a statement that assigns the address of diff to diffPointer.

SOLUTION:



diffPointer=&diff;