Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- void OutputArray(int* iArray)
- {
- int counter=0;
- for(counter = 0;counter < 5;counter ++)
- {
- printf("%d",iArray[counter]);
- }
- printf("\n");
- }
- void main ()
- {
- int a[5];int temp = 0;int counter = 0;
- printf("Please enter 5 numbers...\n");
- for(counter = 0;counter < 5;counter ++)
- {
- scanf("%d",&a[counter]);
- }
- OutputArray(a);
- getche();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement