Difference between reference and dereference operator in c
Answers
Answered by
0
If the dereference operator is used you will get the “value pointed by” a pointer. ... Note: The asterisk (*) sign in the declaration of the pointer does not mean “value pointed by”, it only means that it is a pointer (it is part of its type compound specifier). It should not be confused with the dereference operator.
please mark my answer as a brainliest answer.
thank you
#chetan
@follow me
thank you .
please mark my answer as a brainliest answer.
thank you
#chetan
@follow me
thank you .
Answered by
2
Difference between reference and dereference operator in c is given below.
Explanation:
Reference Operator
- The reference operator is denoted by & ampersand in the c programming language This operator is also known as unary operator in the c programming language .
- The main objective of reference operator that it uses the variables' address assignment. and returns the Pointer address.
Dereference operator
- The dereference operator is denoted by * asterisk in the c programming language .
- This operator provides the operation on the variable of pointer that returns the l value at the address of pointer variable .
Learn More :
- brainly.in/question/9793635
Similar questions