images

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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.