ARRAY:
An array is the collection of same data types.


Array program:
#include
int main()
{
int arr[3] = {1,2,3};
printf("array[0] = %d\n", arr[0]);
printf("array[1] = %d\n", arr[1]);
printf("array[2] = %d", arr[2]);
return 0;
}

OUTPUT:

array[0] = 1
array[1] = 2
array[2] = 3

LEAVE A REPLY










Related topics

Please use contact page in this website if you find anything incorrect or you want to share more information about the topic discussed above.