Which layout style is the best for my code?
Such style issues are a matter of personal taste. Often, opinions about code layout are strongly held, but probably consistency matters more than any particular style. Like most people, I’d have a hard time constructing a solid logical argument for my preferences. I personally use what is often called “K&R” style. When you add conventions for constructs not found in C, that becomes what is sometimes called “Stroustrup” style.