Definition of one-dimensional array

18 Apr

Is a variable that stores a set of data that has the same type and the element to be accessed only through an index or subscript.

The general form of declaration:

nama_array [jumlah_eleman];

* An array of two-dimensional

Is a variable that stores a set of data that has the same type and the element to be accessed via 2 index or subscript of the index row and column index.

The general form of declaration:

nama_array [jumlah_eleman_baris] [jumah_eleme_kolom];

* Multidimensional arrays
Is a variable that stores a set of data that has the same type and the element to be accessed through many indexes or subscripts. This array is used for automatic, 2-dimensional arrays are also included into a multidimensional array.

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: