Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- //////////////////////////////////////////////////////////
- void foo(int *p) //
- {
- for(int i = 4; i > -1; i--)
- {
- printf("%d, ", p[i]);
- }
- }
- ///////////////////////////////////////////////////////////
- int main() //
- {
- int nArr[9] = {10, 11, 12, 13, 14};
- foo(nArr);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement