Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • 6
    I don't know C, but isn't the comma operator used to separate (or actually rather combine) expressions not statements? Commented Mar 30, 2018 at 22:06
  • 1
    Isn't that then a statement expression, which is an expression and not a statement? Uh. That makes my head hurt. C is weird. But like I said: I don't know C. (Not to be confused with an expression statement, which is a statement and not an expression, and totally different from a statement expression, which is an expression and not a statement.) Commented Mar 30, 2018 at 22:19
  • 3
    This is a duplicate question: stackoverflow.com/questions/2087026/… Commented Mar 30, 2018 at 22:22
  • 1
    This is one of those cases where a little self-discipline goes a long way. Just because you can do a thing, doesn't mean that you should do that thing. Commented Mar 30, 2018 at 22:46
  • 1
    its an odd question, but the answer is pretty interesting and gives insight into language design Commented Mar 31, 2018 at 9:04