#include <stdio.h>
typedef struct MyStruct MyStruct;
void foo(MyStruct* s);
struct MyStruct {
int a;
int b;
};
void foo(MyStruct *p) {
printf("%d %d\n", p
->a
, p
->b
); }
int main(void) {
MyStruct ms = {a:100, b:120};
foo(&ms);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp0eXBlZGVmIHN0cnVjdCBNeVN0cnVjdCBNeVN0cnVjdDsKCnZvaWQgZm9vKE15U3RydWN0KiBzKTsKCnN0cnVjdCBNeVN0cnVjdCB7CglpbnQgYTsKCWludCBiOwp9OwoKdm9pZCBmb28oTXlTdHJ1Y3QgKnApIHsKCXByaW50ZigiJWQgJWRcbiIsIHAtPmEsIHAtPmIpOwp9CgppbnQgbWFpbih2b2lkKSB7CglNeVN0cnVjdCBtcyA9IHthOjEwMCwgYjoxMjB9OwoJZm9vKCZtcyk7CglyZXR1cm4gMDsKfQo=