# Continue Operator The continue operator passes control to the beginning of the nearest outward loop [while](/en/docs/basis/operators/while), [do-while](/en/docs/basis/operators/dowhile) or [for](/en/docs/basis/operators/for) operator, the next iteration being called. The purpose of this operator is opposite to that of [break](/en/docs/basis/operators/break) operator. Example: ``` //--- Sum of all nonzero elements int func(int array[])   {    int array_size=ArraySize(array);    int sum=0;    for(int i=0;i