Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- void foo(int *);
- void sort(int *p);
- ////////////////////////////////////////////////////
- int main() //
- {
- int nNumb[20] = {1, -3, 101, 5, 6,8,102, 111, 32, 18, 23, 2, 3, 4, 5, 7,101, 0, 22, 4},
- i, n, k, d,
- *p;
- foo (nNumb);
- sort(nNumb);
- foo (nNumb);
- }
- ////////////////////////////////////////////////////
- void sort(int *p)
- {
- }
- ////////////////////////////////////////////////////
- void foo(int *p)
- {
- for(int i = 0; i < 20; i++)
- {
- printf("%d, ", p[i]);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement