You have declared an integer pointer called point You have also declared an integer called number. Which statement is the correct format?

point = number;
point = *number;
point = &number;
point = +number;

The correct answer is C.

A pointer is a variable that stores the address of another variable. In this case, the pointer point stores the address of the integer variable number. The statement point = &number assigns the address of number to point.

The statement point = number would assign the value of number to point. This would not be correct, because point is a pointer, and pointers store addresses, not values.

The statement point = *number would dereference the pointer point. This would give the value of the variable that point points to. In this case, it would give the value of number.

The statement point = +number would not be correct. It is not valid to add a number to a pointer.

In conclusion, the correct statement is point = &number. This statement assigns the address of number to point.

Exit mobile version