Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int y (int *p, int a)
- {
- int *c = p;
- //printf ("%d", *c);
- while (*c++ < a);
- return c - p;
- }
- int main ()
- {
- int B[2][2] = {1, 2, 3, 4};
- int A[4] = {10,19,28,37};
- printf ("%d", y(A, 29));
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement