Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int n = 0;
- int full(int *a, int *b);
- ////////////////////////////////////////////////////
- int main() //
- {
- int a = 7,
- b = 44;
- full(&a, &b);
- printf("_a = %d; b = %d. \n", a, b);
- scanf("%d", &n);
- }
- /////////////////////////////////////////////////////////////////////////////
- int full(int *aa, int *bb)
- {
- int c;
- c = *aa;
- *aa = *bb;
- *bb = c;
- // printf("a = %d; b = %d. \n", a, b);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement