Basic of Array

Definition of Array


An array is a collection of variable of the same data type that is referred a common name. Each element in array is associated with an index number and occupies contiguous memory location.

Tips : To store multiple value of same data type you can create array.

Array की परिभाषा :


array कई सारे वेरिएबल का समूह है, जिसमे एक से अधिक वैल्यू को स्टोर किया जा सकता है , और वह एक नाम से पहचाना जाता है | सभी वैल्यू एक इंडेक्स से जुड़े होते है और इसको एकांतर (लगातार) मेमोरी की आवस्यकता होती है |

Characteristics of an array:

  • It is a collection of similar (homogeneous) data type of element.
  • The array index number always starts with 0(zero) so the last index is size-1. 
  • It always stored in contiguous memory location.
  • The size and dimension of array is fixed.
  • It is a linear data structure that stores the element in a sequence.



C : Basic of Array Program List




Program [1]

Write a C program which initialize a array with 5 integer values and print the all elements of Array


View Solution


CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Website development Company in Allahabad