Skip to content · ⁨דלג לתוכן⁩

1-D arrays: store, index, and traverse · ⁨מערכים 1D: אחסון, אינדקס וטיול⁩

English

Many values in one box

  • An array holds many values of the same type in order.
  • Until now one variable held one value. An array holds a whole list.
  • For example, the test scores of a class can live in one int array.
עברית

ערכים רבים בקופסה אחת

  • array מחזיק ערכים רבים באותו סוג בסדר.
  • עד כן משתנה אחד החזיק ערך אחד. array מחזיק רשימה שלמה.
  • לדוגמה, ציוני מבחן של כיתה יכולים להיות ב-int אחד.

Handout · ⁨חומר עזר⁩

Log in or create account · ⁨היכנס או צור חשבון⁩

IGCSE, A-Level & AP