Chapter

Operators

From ComputerScienceOne by Dr Chris Bourke

Concepts

  1. What happens when you reassign a const variable in C?

    "15. Basics 1 const int secret = 42; 2 const double salesTaxRate = 0.075; Any attempt to reassign the values of const variables will result in a compiler error."

  2. How does C handle arithmetic operators and integer division?

    "15.4. Operators C supports the standard arithmetic operators for addition, subtraction, multiplication, and division using + , - , * , and / respectively. Each of these operators is a binary operator

Operators | ComputerScienceOne | Bifalgorithm | Bifalgorithm