Assume that an int variable counter has already been declared. Assume further a variable counterPointer of type "pointer to int" has also already been declared. Write a statement that makes counterPointer "point" to counter.

Answer :

Limosa

Answer:

Following are the statement:

counterPointer = &counter;

Explanation:

The following statement is correct because in the question it is given that there is an integer data type variable i.e., "counter" and there is another integer data type pointer variable i.e., "counterPointer" and finally we write a statement in which the pointer variable points to the integer variable.

Other Questions