Possible Duplicate:
Expression Versus Statement
What does expression mean? Something that evaluates to something, returns a value?
How is it different from a statement. Can a statement contain an expression and vice versa?
Expressions do "return" a value, though they may be cast to (void)
. Statements don't evaluate to anything and only have side effects.
E.g. ;
is a statement by itself, evaluates to nothing, and has no side effects.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With