> - Why A.B()? Period gets read as a sentence terminator and that function is being called with no parameters, which makes no sense.
What C syntax is this referring to?
What C syntax is this referring to?
struct a {
void (*B)();
}
struct a A = { .B = ... };
A.B();What I should have written:
- Why is "Foo()" a function is being called with no parameters, which makes no sense.
- What is "A.B" Period gets read as a sentence terminator. I learned C++ and Java very early on in life and had never considered A.B to be an issue.