+ 1

What does semicolon stand for in c++

11th Jun 2019, 6:58 PM
Harsh D H A W L E
Harsh D H A W L E - avatar
5 Antworten
+ 31
Not every, but in this case it ends a statement. (Maybe in Python you have not to end a statement) The result is, that you can write a lot of statements in one line, but then you can't read it easy.
11th Jun 2019, 8:12 PM
Worm
Worm - avatar
+ 15
You are started with C++ tutorial, so... keep going! In C++, the 'semicolon' is used to terminate a statement. Each statement must end with a 'semicolon'. It indicates the end of one logical expression. -> https://www.sololearn.com/learn/CPlusPlus/1603/
11th Jun 2019, 8:30 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 5
it end a statement just like in every other language I presume
11th Jun 2019, 7:08 PM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 3
; tells the Compiler that a specific statements has reached it termination. 😆
11th Jun 2019, 9:17 PM
minirkk
minirkk - avatar
0
semicolons are used to terminate statements. yes you can use semicolons in python. They seperate multiple statements. for i in range(10): print(i) if i == 5: print("End"); break; 0 1 2 3 4 5 End
11th Jun 2019, 8:26 PM
Choe
Choe - avatar