MCQ Single Best Answer Moderate

QStructure variable এর মধ্যে data access করার জন্য কোন operator ব্যবহৃত হয়?

ID: #24905 SEMESTER – I - COMS - Unit – 3: Section 4: Introduction to C: Arrays and Structure 3 views
Question Info
#24905Q ID
ModerateDifficulty
SEMESTER – I - COMS - Unit – 3: Section 4: Introduction to C: Arrays and StructureTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A +
  • B -
  • C . (dot)
  • D *
Correct Answer: Option C

Explanation

Structure variable এর member access করার জন্য dot (.) operator ব্যবহার করা হয়।

কেন C সঠিক: যেমন s1.name, s1.age এখানে dot operator ব্যবহার হয়েছে।

কেন A ভুল: + arithmetic operator।

কেন B ভুল: - subtraction operator।

কেন D ভুল: * pointer operator, structure access এর জন্য নয় (direct access ক্ষেত্রে)।

Share This Question

Challenge a friend or share with your study group.