8、设有以下程序段 int x=0,s=0; while(!x!=0) s+=++x; printf("%d",s); 则下面描述中正确的是 。

A.运行程序段后输出0 B.运行程序段后输出1 C.循环的控制表达式不正确 D.程序段执行无限次

时间:2024-04-23 15:36:22

相似题目