Why do you have a semi colon at the end??? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

Why do you have a semi colon at the end???

18th Mar 2018, 5:24 PM
Mr. Prā—‹grammer
2 Respostas
+ 3
So the compiler knows that the statement ends there
18th Mar 2018, 5:26 PM
Chris
Chris - avatar
+ 3
The semicolon is a statement terminator in C to help the parser figure out where the statement ends since.
18th Mar 2018, 5:41 PM
Baraa AB
Baraa AB - avatar