Language Basics: Expressions, Statements, Blocks Flashcards
1
Q
What happens if you don’t explicitly indicate the order for the operations to be performed in an expression?
A
Order is determined by the precedence assigned to the operators in use within the expression. Operators that have a higher precedence get evaluated first.
2
Q
What is a control flow statement?
A
control flow statements regulate the order in which statements get executed.
3
Q
What is a block?
A
A block is a group of zero or more statements between balanced braces and can be used anywhere a single statement is allowed