Is there a reason the code after int main() doesn't start right below the curly bracket but is rather a few spaces infront? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is there a reason the code after int main() doesn't start right below the curly bracket but is rather a few spaces infront?

26th Jan 2018, 4:43 PM
3ck
3ck - avatar
2 Answers
+ 3
indentation (putting spaces at the beginning of line) makes the code easier to read and it is easier to orientate in it
26th Jan 2018, 4:50 PM
michal
0
Thanks
26th Jan 2018, 4:54 PM
3ck
3ck - avatar