Is there multiple semicolon after end of statement allowed in C++? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is there multiple semicolon after end of statement allowed in C++?

20th Nov 2016, 2:00 PM
Kalpesh Dhamne
2 Answers
0
Nope, I don't think so. Each c++ statement ends with a SINGLE semicolon.
20th Nov 2016, 6:24 PM
Rill Chritty
Rill Chritty - avatar
0
In every case, a second semicolon will create an error preventing your code from compiling.
20th Nov 2016, 10:52 PM
Cody Pickett