1 #include <stdio.h>
2 
3 struct foo {
4 	int	x;
5 	char	*y;
6 	int	z;
7 };
8 
9 void
foo(int lol,struct foo p1,int hehe)10 foo(int lol, struct foo p1, int hehe) {
11 	printf("HERE FOO.X is %d\n", p1.x);
12 	printf("HERE FOO.Y is %s\n", p1.y);
13 	printf("HERE FOO.Z is %d\n", p1.z);
14 	printf("%d %d\n", lol, hehe);
15 }
16 
17 int
main(void)18 main(void) {
19 	struct foo	f;
20 	f.x = 123;
21 	f.y = "hello";
22 	f.z = 456;
23 	foo(999, f, 777);
24 	return 0;
25 }
26 
27