Lesson 11 of 23
Arrays
9 min 25 XP
Array একই type-এর values পরপর memory-তে রাখে। Indexes 0 থেকে শুরু। C সীমা যাচাই করে না: 5 উপাদানের array-তে a[10] লিখলে memory নষ্ট হয়, তাই সাবধান!
Example: edit me and press Run
Output Loading C (first time takes a few seconds)
Press Run to see the result here.Example: edit me and press Run
Output Loading C (first time takes a few seconds)
Press Run to see the result here.sizeof(arr) / sizeof(arr[0]) উপাদানের সংখ্যা দেয়, তবে শুধু সেই function-এ যেখানে array declare করা হয়েছে।