0
What is ; known in for loop in c++??
In c++ we write for loop as for(int i=0;i<5;i++). So what is name of ; this sign?? And this is not known as Line Terminator or Statement Terminator in case of for loop. ; is known as line terminator for statements like int i=10; but this is not case of for loop.
6 Respostas
+ 3
It is called semicolon everywhere
+ 2
; is called semicolon
And is used for ex. to separate parameters in for loop
+ 2
Semicolon is an english word not technical word for this
+ 2
Ok, it is called separator
+ 1
Semicolon - I never read that it has a special name in a for-loop
+ 1
My professor asked this question