In languages like C#, you can do:
MyObject myObject = new MyObject() {property1 = 1, property2 = 2 ...}
Is it possible to do this for a struct in C rather than writing assignments one per line?
If I try this in C, I get error: 'property1' undeclared (first use in this function); did you mean 'constructorArg1'?
This seems basic, just don't know what to google.