Statement delimiter in C++

  • C/++/#
  • Thread starter mdnazmulh
  • Start date
51
0

Main Question or Discussion Point

Is the semicolon (;) used as statement delimiter in C++?

I have been knowing that semiclon is statement terminator.

Another confusion:
I think, we can write as many as statements we wish in a single line and of course separating them by semicolon. But to ensure program readability we don't do that.
Am I correct?
 

Answers and Replies

CRGreathouse
Science Advisor
Homework Helper
2,817
0

Related Threads for: Statement delimiter in C++

Replies
0
Views
7K
  • Last Post
Replies
6
Views
2K
Replies
15
Views
1K
Replies
2
Views
2K
Replies
19
Views
1K
Replies
3
Views
1K
  • Last Post
Replies
10
Views
1K
Replies
4
Views
10K
Top