what is reference opreator ? Explain using an example.
Answers
Answered by
1
Answer:
Address of operator (“&”) is known as referencing 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 to a variable x, then we need to copy the address of the variable “x” in the pointer variable “p”.
i hope this helps u
Answered by
2
Address of operator (“&”) is known as referencing 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 to a variable x, then we need to copy the address of the variable “x” in the pointer variable “p”.
Hope it's help you ✌️.
Similar questions