1. Home
  2. Computer Science MCQs
  3. C Programming
  4. Which operator is used to access a member of a structure…

Added 30 Nov -0001

Which operator is used to access a member of a structure variable?

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

Correct answer

C. .

15 views

MCQSEXAM

Explanation

The dot operator accesses members of a structure; the arrow operator is used with a pointer to a structure.

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