+ 1
What does semicolon stand for in c++
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.
+ 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/
+ 5
it end a statement just like in every other language I presume
+ 3
; tells the Compiler that a specific statements has reached it termination. 😆
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