1. Home
  2. Computer Science MCQs
  3. C Programming
  4. Which operator is used to obtain the address of a variable…

Added 30 Nov -0001

Which operator is used to obtain the address of a variable in C?

  1. ->
  2. .
  3. & Correct answer
  4. *

Correct answer

C. &

14 views

MCQSEXAM

Explanation

The unary & operator yields the address of its operand; * is used for dereferencing.

Reference

Asked in: NTS, PPSC IT, Campus Interviews

Preparing for an exam?

Doubts & discussion

Not sure why the answer is C? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More C Programming MCQs

Practise all C Programming MCQs

Similar MCQs