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!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 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 Respuestas
+ 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