Write a C program to declare, initialize, input elements in array and print array. How to input and display elements in an array using for loop in C programming. C program to input and print array elements using loop.
Example
Input
Input size: 10 Input elements: 1 2 3 4 5 6 7 8 9 10
Output
Output: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10