Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int snoopy(int x, int y[], const int z[])
- {
- x = 5;
- y[0] = 5;
- z[0] = 5;
- return x + 10;
- }
- int main(void)
- {
- int a = 1;
- int b[] = {1,2,3};
- int c[] = {7,7,7};
- int result;
- result = snoopy(a,b,c);
- printf("%d %d %d", a, b[0], result );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement