Hi,
I would like to ask if it is possible when initializing a C struct to have open brace “{” placed in a newline.
For example if we have the following struct:
struct point
{
int x;
int y;
}
and we want to initialize it, can we have this:
struct point A =
{
.x = 2;
.y = 3;
}
and not this one:
struct point A = {
.x = 2;
.y = 3;
}
Best regards,
Kostas