95.8k views
0 votes
Which operator is used to get the address of a variable?
a) &
b) *
c) =

User Ito
by
7.7k points

1 Answer

5 votes

Final answer:

The operator used to get the address of a variable is the & operator.

Step-by-step explanation:

The operator used to get the address of a variable is the & operator. It is called the address-of operator and it returns the memory address where the variable is stored.

User Adam Rabung
by
7.9k points