Answers to Exercises

Chapter 2

  1. Name the building blocks of a programming language.

    Operands, operators, expressions, statements, statement blocks, function blocks

  2. What is a binary operator?

    A binary operator is an operator that requires two operands to create an expression.

  3. Why is an understanding of operator precedence important in an expression?

    Operator precedence dictates the order in which subexpressions are evaluated in complex statements. Without this understanding it is possible that a complex statement will not have the subexpressions evaluated in the order you wish, leading to erroneous results.

  4. Which of the Five Program Steps is ...

Get Beginning C for Arduino: Learn C Programming for the Arduino and Compatible Microcontrollers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.