What's the output of this C99 program?
# include <stdio.h>
typedef struct X { int b, a; } X;
int main() {
X x = {
.a = printf("hello"),
.b = printf(" world\\n")
};
}
# include <stdio.h>
typedef struct X { int b, a; } X;
int main() {
X x = {
.a = printf("hello"),
.b = printf(" world\\n")
};
}
(h/t @capitalist_void)