Which operator is used to obtain the address of a variable in C?
-
A
->
-
B
.
-
C
&
Correct answer
-
D
*
14 views
Explanation
The unary & operator yields the address of its operand; * is used for dereferencing.
Reference
Asked in: NTS, PPSC IT, Campus Interviews
Doubts & discussion
Not sure why the answer is C? Ask here and get an explanation.
Ask a doubt about this MCQ