I have just tried to use this code and somehow found it not marked error by my compiler.
struct structA{
int x;
int y;
};
...
struct structA var;
var={1,2};
This somehow worked well. In my limited knowledge, the {,} clause are only allowed as aggregate initialization. How should I interpret it here?