<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir="ltr" data-setdir="false">Hi,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I would like to ask if it is possible when initializing a C struct to have open brace "{" placed in a newline.</div><div dir="ltr" data-setdir="false">For example if we have the following struct:</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">struct point</div><div dir="ltr" data-setdir="false">{</div><div dir="ltr" data-setdir="false">int x;</div><div dir="ltr" data-setdir="false">int y;</div><div dir="ltr" data-setdir="false">}</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">and we want to initialize it, can we have this:</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">struct point A = </div><div dir="ltr" data-setdir="false">{</div><div dir="ltr" data-setdir="false"> .x = 2;</div><div dir="ltr" data-setdir="false"> .y = 3;</div><div dir="ltr" data-setdir="false">}</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">and not this one:</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div><div dir="ltr" data-setdir="false">struct point A = {</div><div dir="ltr" data-setdir="false"> .x = 2;</div><div dir="ltr" data-setdir="false"> .y = 3;</div><div dir="ltr" data-setdir="false">}</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Best regards,</div><div dir="ltr" data-setdir="false">Kostas</div><div dir="ltr" data-setdir="false"><br style="color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;"></div></div><br></div></div></body></html>