Example: Punctuators in expressions
These are the examples of punctuators in expressions.
Symbol | Description | Example |
( ) | Opening and closing parentheses. Use parentheses around any subexpression to specify the order of operations. Subexpressions inside parentheses are evaluated prior to any operators outside the parentheses being applied. | 3 + 2 * 6 returns 15 (3 + 2) * 6 returns 30 |
Provide Feedback