What does the address-of operator (&) do in C?

  • It is a bitwise operator.
  • It multiplies the value by 2.
  • It returns the address of a variable.
  • It returns the value stored at the address.
The address-of operator (&) in C is used to get the memory address of a variable. This allows you to access and manipulate the variable indirectly through pointers. It does not return the value stored at the address but the address itself.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *