1#include <stdio.h>
2int main(void)
3{
4int size, i;
5printf("Enter the size of the arrays:\n");
6scanf("%d", &size);
7
8int arr1[size];
9printf("Enter the elements of the array:\n");
10for (i = 0; i < size; i++) {
11 scanf_s("%d", arr1[size]);
12}
13printf("The current array is:\n %d", arr1[i]);
14}