Hello friends!!!!!

Array

C LANGUAGE

9/14/20241 min read

An array is a named variable which can hold the values of same datatypes.

Example :

#include <stdio.h>

int main() {

int a[5]={1, 2, 3, 4, 5} , i;

for(i=0 ; i<=4 ; i++) {

printf("The array element : %dn", a[i]);

}

return 0;

}