22.设有以下程序段 int x=0,s=0; while(!x!=0)s+=++x; printf("%d",s); 则()。
A.运行程序段后输出0 B.运行程序段后输出1 C.程序段中的控制表达式是非法的 D.程序段执行无限次正确答案B
22.设有以下程序段 int x=0,s=0; while(!x!=0)s+=++x; printf("%d",s); 则()。
A.运行程序段后输出0 B.运行程序段后输出1 C.程序段中的控制表达式是非法的 D.程序段执行无限次正确答案B