Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- typedef struct {
- int x,y;
- } Punkt;
- Punkt p1;
- Punkt p2;
- void wypisz() {
- printf ("p1: x==%i, y==%i\np2: x==%i, y==%i", p1.x, p1.y, p2.x, p2.y);
- }
- int main() {
- p1.x=1;
- p1.y=1;
- p2.x=2;
- p2.y=3;
- wypisz();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement