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 केला होता.