Ex: Write a C program to print given array elements in reverse order. How to write a C program to print array elements in reverse order. C program to print array elements in reverse order.
Input from user:
Enter the limit: 5
Enter the elements:
10
20
30
40
50
Expected output:
Given elements in reverse order:
50 40 30 20 10
Input from user:
Enter the limit: 5
Enter the elements:
10
20
30
40
50
Expected output:
Given elements in reverse order:
50 40 30 20 10