MCQ Single Best Answer Moderate

QArray এর সব element একই হতে হবে কেন?

ID: #24901 SEMESTER – I - COMS - Unit – 3: Section 4: Introduction to C: Arrays and Structure 2 views
Question Info
#24901Q 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 Memory management সহজ করার জন্য
  • B Different type allow করার জন্য
  • C Compiler error avoid করার জন্য
  • D Function call করার জন্য
Correct Answer: Option A

Explanation

Array একই ধরনের data store করে যাতে memory layout sequential এবং efficient হয়।

কেন A সঠিক: একই type হলে memory continuousভাবে allocate করা যায়।

কেন B ভুল: array different type support করে না।

কেন C ভুল: এটি primary reason নয়, design principle।

কেন D ভুল: function call এর সাথে array type সম্পর্কিত নয়।

Share This Question

Challenge a friend or share with your study group.