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


    User Avatar
    Science Advisor
    Homework Helper

Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Similar Threads for Statement delimiter Date
If statement for Monte Carlo integration Sunday at 7:46 AM
C/++/# Functions and Return statement in C May 3, 2017
C/++/# If-else statements in for loops Apr 10, 2017
Fortran How does Fortran Execute this Statement? Mar 15, 2017
Fortran Help. Reading space delimited floats Sep 23, 2012