Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- int n,i=0,a[20];
- printf("Enter the length of array:");
- scanf("%d",&n);
- printf("Enter the element\n");
- for (i=0;i<n;i++)
- {
- scanf("%d",&a[i]);
- }
- printf("Traversing of the Array:");
- for (i=0;i<n;i++)
- {
- printf("\n%d",a[i]);
- }
- return(0);
- }
Add Comment
Please, Sign In to add comment