1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Statement delimiter in C++

  1. Mar 30, 2008 #1
    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?
     
  2. jcsd
  3. Mar 30, 2008 #2

    CRGreathouse

    User Avatar
    Science Advisor
    Homework Helper

Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Statement delimiter in C++
Loading...