At Westonci.ca, we make it easy to get the answers you need from a community of informed and experienced contributors. Explore comprehensive solutions to your questions from knowledgeable professionals across various fields on our platform. Our platform provides a seamless experience for finding reliable answers from a network of experienced professionals.

For each of the following, write a single statement that performs the specified task. Assume that long variables value1 and value2 have been declared, and value1 has been initialized to 200000.
a) Declare the variable longPtr to be a pointer to an object of type long.
b) Assign the address of variable valuel1 to pointer variable longPtr.
c) Print the value of the object pointed to by longPtr.
d ) Assign the value of the object pointed to by longPtr to variable value2
e) Print the value of value2.
f) Print the address of value1
g) Print the address stored in longPtr. Is the value printed the same as value1's address?