### Examples Using the Null Statement

The following example initializes the elements of the array `price`. Because the initializations occur within the for expressions, a statement is only needed to finish the for syntax; no operations are required.

>     for (i = 0; i < 3; price[i++] = 0)
>        ;

A null statement can be used when a label is needed before the end of a block statement. For example:

>     void func(void) {
>       if (error_detected)
>         goto depart;
>       /* further processing */
>       depart: ;  /* null statement required */
>     }