0
32kviews
Explain reference and de-reference operators with example.
2 Answers
2
3.2kviews

Reference operators:

  • Address of operator (“&”) is known as referencing operator.

  • This operator returns the address of the variable associated with the operator.

  • For e.g., if we write “&x”, it will return the address of the variable “x’.

  • Hence, if we have a pointer “p”, which we want to point …

Create a free account to keep reading this post.

and 3 others joined a min ago.

1
862views

Reference operators:

  • Address of operator (“&”) is known as referencing operator.

  • This operator returns the address of the variable associated with the operator.

  • For e.g., if we write “&x”, it will return the address of the variable “x’.

  • Hence, if we have a pointer “p”, which we want to point …

Create a free account to keep reading this post.

and 5 others joined a min ago.

Please log in to add an answer.