1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
//#include <stdio.h> #include <cstdio> typedef struct _POINT { long x; long y; } POINT; POINT f(POINT p) { return p; } int main() { POINT p; p = f(POINT()); printf("%ld, %ld\n", p.x, p.y); return 0; } /* end */
1
0, 0