Why do we use semicolon after each statement? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why do we use semicolon after each statement?

19th Jul 2018, 3:21 PM
Romsha Keshari
4 Answers
+ 4
because it defines the end of a statement
19th Jul 2018, 3:39 PM
Suraj Jha
Suraj Jha - avatar
+ 4
since program has multiple statements it is very important to distinguish between each and every​ statement. so that there won't be any problem while execution.
19th Jul 2018, 3:41 PM
Suraj Jha
Suraj Jha - avatar
+ 2
because SYNTAX.
19th Jul 2018, 3:55 PM
Satyam
+ 1
because it defines the end of a statement, since program has multiple statements it is very important to distinguish between each and every​ statement. so that there won't be any problem while execution.
16th Apr 2020, 4:18 PM
Cmurio
Cmurio - avatar