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