DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Complying with standard C

Expressions

Most expression operators require (complete) object types. The only three exceptions are the unary & operator, the first operand of the comma operator, and the second and third operands of the ``?:'' operator. Most operators that accept pointer operands also permit pointers to incomplete types, unless pointer arithmetic is required. The list includes the unary ``*'' operator, even though some may find this surprising. For example, given:

   void *p
&*p is a valid subexpression that makes use of this.

Next topic: Justification
Previous topic: Declarations

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003