Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- struct trojkat
- {
- int a;
- int b;
- int c;
- };
- int xd(struct trojkat trujkont)
- {
- return (trujkont.a + trujkont.b + trujkont.c);
- }
- int main()
- {
- struct trojkat trujkont;
- trujkont.a = 5;
- trujkont.b = 6;
- trujkont.c = 7;
- printf("%d",xd(trujkont));
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement