设有以下程序段int x=0,s=0; while(!x!=0) s+=++x; printf("%d",s); 则 。

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

时间:2024-05-01 10:39:14

相似题目