The function of the break statement is to terminate the execution of the entire loop where the break is located.
查看答案
Only the first and third expressions can be omitted from the three expressions in for loop statement.
int main(void) {int y=10; while (y--); printf("y=%d\n",y); return 0 ; } The output of the program is ( ).
A. y=0
B. y=-1
C. y=1
D. while forms an infinite loop
%d of the printf function is used to output signed decimal integers.
The %f of the printf function, which is used to output real numbers in exponential form.