Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <conio.h>
- int main()
- {
- int x = 0;
- double y = 0;
- int *xy;
- double *py;
- xy = &x;
- py = &y;
- printf("Podaj liczbe x: \n");
- scanf("%d", xy);
- printf("Podaj liczbe y: \n");
- scanf("%lf", py);
- printf("Bezposrednia: x %d y %lf \n, przy uzyciu wskaznikow x %d y %lf \n", x,y,*xy,*py);
- getch();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment