#include <stdio.h>

struct Foo { int bar; double quux; };

void foofx(struct Foo f) {
    printf("%f\n", f.bar + f.quux);
}

int main(void) {
    (struct Foo){42, 3.14159};

    //you can use it through a pointer
    struct Foo *foo = &((struct Foo){42, 3.14159});
    foo->quux = 2.71828;

    // you can use it as a function parameter
    foofx((struct Foo){42, 3.14159});

	return 0;
}
