HP 3000 Manuals

Punctuators [ HP C/iX Reference Manual ] MPE/iX 5.0 Documentation


HP C/iX Reference Manual

Punctuators 

A punctuator is a symbol that is necessary for the syntax of the C
language, but performs no runtime operation on data and produces no
runtime result.

Syntax 

              punctuator ::=  One selected from:
                    [   ]   (   )   {   }   *   ,   :   =   ;   #   ...

Description 

Some punctuators are the same characters as operators.  They are
distinguished through the context of their use.

Example 

     #include <stdio.h> /* # marks the processing directive "include" */
     main()              /* ( and ) mark the beginning and end of
                            argument list */

     {                   /* { marks the beginning of a block */
        printf("\nHello world\n"); /* ; marks the end of a statement */

     }                   /* } marks the end of a block       */



MPE/iX 5.0 Documentation