Wikipedia

Hasil penelusuran

Minggu, 18 Oktober 2015

Arrays In C

  • Array is a way to store variables in contingous space, that can be looped later
  • Use Array when the number of inputs to be stored are too many 
 
Since Example is The Best Teacher for me, lets look at this example :

 Look at the pic : 






we can also write it this way :











To know the size of your Array, you can use function "sizeof" and divide it by one element of the array.

example :



Hope This Will Help
Peace !










Tidak ada komentar:

Posting Komentar