Operators and Expressions

  • Peter A. Darnell
  • Philip E. Margolis


Operators are the verbs of the C language that let you calculate values. C’s rich set of operators is one of its distinguishing characteristics. In the preceding chapters, you have already seen a number of C operators, such as + (addition), /(division), < (less than), and = (assignment). The operator symbols are composed of one or more special characters. If an operator consists of more than one character, you must enter the characters without any intervening spaces:
$$x \Leftarrow y\;/ * \,legal\,expression\,*/$$
$$x \Leftarrow y\;/ * \,illegal\,expression\,*/$$




Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag New York, Inc. 1996

Authors and Affiliations

  • Peter A. Darnell
    • 1
  • Philip E. Margolis
    • 2
  1. 1.Visual SolutionsWestfordUSA
  2. 2.RockportUSA

Personalised recommendations