单项选择题

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

微信扫码免费搜题