Any tips on how to place braces correctly in C Language? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Any tips on how to place braces correctly in C Language?

21st Sep 2020, 10:50 AM
Sowmya
Sowmya  - avatar
3 Answers
+ 5
I didn't understand your question .can you please give an example.Might be helpful: https://jeremybytes.blogspot.com/2013/04/where-do-curly-braces-belong.html
21st Sep 2020, 10:57 AM
The future is now thanks to science
The future is now thanks to science - avatar
+ 3
Used in loops functions scope and control flow statements .braces in somes editor is highlited if you set the cursor and point on first curly braces its correspondant pair will be highlited too so try to check with this tip every curly braces you in codes.
21st Sep 2020, 10:57 AM
HBhZ_C
HBhZ_C - avatar
+ 1
Thank you
21st Sep 2020, 11:04 AM
Sowmya
Sowmya  - avatar