Array in C Programming Language tccicomputercoaching.com What is Array? Array is collection of more than one element of same type at a same memory location.
Declaration Syntax: Data Type arrayname[size]; Here, size represent number elements stored in Array. This size is maximum so, user can enter equal or less elements but nor more than elements. All Elements store in sequence in memory. An each element contain position which always start from zero. rn[0]
rn[1]
0
1
rn[2]
2
rn[3]
3
For Example , if we want to store 4 student rollno at a same location then array has been declared like this: