HPlogo HP C/HP-UX Reference Manual: Version A.05.55.02 > Chapter 5 Expressions and Operators

Integral Expressions

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

Integer expressions are expressions that, after all automatic and explicit type conversions, produce a result that has one of the integer types. If j and k are integers, the following are all integral expressions:

  • j

  • j * k

  • j / k + 3

  • k - ‘a’

  • 3 + (int) 5.0

© Hewlett-Packard Development Company, L.P.